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

ClientHandlerFactory

interface ClientHandlerFactory<T : ClientHandler!> (source)

Factory creating stream handlers, managing client-side connections.

Functions

createHandler

Creates a new handler associated with a valid streaming connection.

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