class EthStatsReporter
(source)
ETHNetStats reporting service.
This service connects to a running ethnetstats service and reports.
If the service is not available, the reporter will keep trying to connect periodically. The service will report statistics over time.
<init> |
Default constructor. EthStatsReporter(vertx: Vertx!, ethstatsServerURIs: MutableList<URI!>!, secret: String!, name: String!, node: String!, port: Int, network: String!, protocol: String!, os: String!, osVer: String!, historyRequester: Consumer<MutableList<UInt256!>!>!) |
sendHistoryResponse |
fun sendHistoryResponse(blocks: MutableList<BlockStats!>!): Unit |
sendNewHead |
fun sendNewHead(newBlockStats: BlockStats!): Unit |
sendNewNodeStats |
fun sendNewNodeStats(nodeStats: NodeStats!): Unit |
sendNewPendingTransactionCount |
fun sendNewPendingTransactionCount(txCount: Int): Unit |
start |
fun start(): Unit |
stop |
fun stop(): Unit |