class ProxyHandler : CoroutineScope, SubProtocolHandler
(source)
<init> |
ProxyHandler(coroutineContext: CoroutineContext = Dispatchers.Default, service: SubprotocolService, client: ProxyClient) |
client |
val client: ProxyClient |
coroutineContext |
val coroutineContext: CoroutineContext |
service |
val service: SubprotocolService |
handle |
fun handle(connection: WireConnection, messageType: Int, message: Bytes): AsyncCompletion |
handleNewPeerConnection |
fun handleNewPeerConnection(connection: WireConnection): AsyncCompletion |
stop |
fun stop(): AsyncCompletion |
logger |
val logger: Logger! |