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>

Default constructor.

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

Functions

getPort

fun getPort(): Int

start

Starts the server.

fun start(): AsyncCompletion!

stop

Stops the server.

fun stop(): AsyncCompletion!