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

SecureScuttlebuttVertxServer

class SecureScuttlebuttVertxServer (source)

Secure Scuttlebutt server using Vert.x to manage persistent TCP connections.

Constructors

<init>

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

Default constructor.

Functions

start

fun start(): AsyncCompletion

Starts the server.

stop

fun stop(): AsyncCompletion

Stops the server.