interface ScuttlebuttStreamHandler
(source)
Handles incoming items from a result stream
abstract fun onMessage(message: RPCResponse): Unit
Handles a new message from the result stream. |
|
abstract fun onStreamEnd(): Unit
Invoked when the stream has been closed. |
|
abstract fun onStreamError(ex: Exception): Unit
Invoked when there is an error in the stream. |