class StratumConnection
(source)
Persistent TCP connection using a variant of the Stratum protocol, connecting the client to miners.
<init> |
Persistent TCP connection using a variant of the Stratum protocol, connecting the client to miners. StratumConnection(protocols: Array<StratumProtocol>, closeHandle: () -> Unit, sender: (String) -> Unit) |
closeHandle |
val closeHandle: () -> Unit |
sender |
val sender: (String) -> Unit |
close |
fun close(): Unit |
handleBuffer |
fun handleBuffer(buffer: Buffer): Unit |
send |
fun send(message: String): Unit |