tuweni / org.apache.tuweni.scuttlebutt.handshake.vertx / SecureScuttlebuttVertxServer / <init>

<init>

SecureScuttlebuttVertxServer(vertx: Vertx, addr: InetSocketAddress, keyPair: KeyPair, networkIdentifier: Bytes32, handlerFactory: ServerHandlerFactory)

Default constructor.

Parameters

vertx - the Vert.x instance

addr - the network interface and port to bind the server to

keyPair - the identity of the server according to the Secure Scuttlebutt protocol

networkIdentifier - the network identifier of the server according to the Secure Scuttlebutt protocol

handlerFactory - the factory of handlers that will manage stream connections