class EthStatsServer : CoroutineScope
(source)
<init> |
EthStatsServer(vertx: Vertx, networkInterface: String, port: Int, secret: String, timeSupplier: () -> Instant = Instant::now, controller: EthStatsServerController, coroutineContext: CoroutineContext = Dispatchers.Default) |
coroutineContext |
val coroutineContext: CoroutineContext |
networkInterface |
val networkInterface: String |
port |
var port: Int |
secret |
val secret: String |
connect |
fun connect(serverWebSocket: ServerWebSocket): Unit |
start |
suspend fun start(): Unit |
stop |
suspend fun stop(): Unit |
logger |
val logger: Logger! |
mapper |
val mapper: ObjectMapper |