class SecureScuttlebuttVertxClient
(source)
Secure Scuttlebutt client using Vert.x to manage persistent TCP connections.
<init> |
Default constructor. SecureScuttlebuttVertxClient(vertx: Vertx!, keyPair: KeyPair!, networkIdentifier: Bytes32!) |
connectTo |
Connects the client to a remote host. fun <T : ClientHandler!> connectTo(port: Int, host: String!, remotePublicKey: PublicKey?, invite: Invite?, handlerFactory: ClientHandlerFactory<T>!): AsyncResult<T>! |
stop |
Stops the server. fun stop(): AsyncCompletion! |