scuttlebutt-handshake / org.apache.tuweni.scuttlebutt.handshake.vertx / ServerHandlerFactory

ServerHandlerFactory

interface ServerHandlerFactory (source)

Factory creating stream handlers, managing server-side connections.

Functions

createHandler

abstract fun createHandler(sender: Consumer<Bytes>, terminationFunction: Runnable): ServerHandler

Creates a new handler associated with a valid streaming connection.