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 - Vertx!: the Vert.x instance

addr - InetSocketAddress!: the network interface and port to bind the server to

keyPair - KeyPair!: the identity of the server according to the Secure Scuttlebutt protocol

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

handlerFactory - ServerHandlerFactory!: the factory of handlers that will manage stream connections