tuweni / org.apache.tuweni.scuttlebutt.lib / ScuttlebuttClientFactory / withInvite

withInvite

static fun withInvite(vertx: Vertx!, keyPair: KeyPair!, invite: Invite!, networkIdentifier: Bytes32!): AsyncResult<ScuttlebuttClient!>! (source)

Creates a SSB client with an invite

Parameters

vertx - Vertx!: the vertx instance to use for network IO

keyPair - KeyPair!: The keys to use for the secret handshake

invite - Invite!: the invitation to the remote server

networkIdentifier - Bytes32!: The scuttlebutt network key to use.

Return
AsyncResult<ScuttlebuttClient!>!: the scuttlebutt client