abstract class RPCDispatcher
Intended to service transient clients only (not p2p nodes) for short-lived, transient request/response pairs. If you need robustness, this is the wrong system. If you dont want a response, this is probably the wrong system (you could just send a message). If you want complex customisation of how requests/responses are handled, this is probably the wrong system.
<init> |
RPCDispatcher(target: Any) Intended to service transient clients only (not p2p nodes) for short-lived, transient request/response pairs. If you need robustness, this is the wrong system. If you dont want a response, this is probably the wrong system (you could just send a message). If you want complex customisation of how requests/responses are handled, this is probably the wrong system. |
target |
val target: Any |
dispatch |
fun dispatch(msg: ClientRPCRequestMessage): Unit |
send |
abstract fun send(bits: SerializedBytes<*>, toAddress: String): Unit |
start |
fun start(rpcConsumer: <ERROR CLASS>, rpcNotificationConsumer: <ERROR CLASS>?, onExecutor: AffinityExecutor): Unit |