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

ServerHandler

interface ServerHandler (source)

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

Functions

receivedMessage

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

abstract fun receivedMessage(message: Bytes!): Unit

streamClosed

Notifies the handler the stream is no longer active.

abstract fun streamClosed(): Unit