tuweni / org.apache.tuweni.scuttlebutt.handshake.vertx / ClientHandler

ClientHandler

interface ClientHandler (source)

Handler managing a stream over SecureScuttlebutt originating from the Vert.x client

Functions

receivedMessage

This method is called by the client when a new message arrives from the server.

abstract fun receivedMessage(message: Bytes!): Unit

streamClosed

Notifies the handler the stream is no longer active.

abstract fun streamClosed(): Unit

Inheritors

RPCHandler

Handles RPC requests and responses from an active connection to a scuttlebutt node.

open class RPCHandler : Multiplexer, ClientHandler