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

ClientHandlerFactory

interface ClientHandlerFactory<T : ClientHandler> (source)

Factory creating stream handlers, managing client-side connections.

Functions

createHandler

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

Creates a new handler associated with a valid streaming connection.