interface SubProtocolHandler
(source)
Handler managing messages and new connections of peers related for a given subprotocol.
handle |
Handle an incoming wire protocol message abstract fun handle(connectionId: String!, messageType: Int, message: Bytes!): AsyncCompletion! |
handleNewPeerConnection |
Handle a new peer connection abstract fun handleNewPeerConnection(connectionId: String!): AsyncCompletion! |
stop |
Stops a subprotocol operations. abstract fun stop(): AsyncCompletion! |