class ScuttlebuttClientFactory
(source)
A factory for constructing a new instance of ScuttlebuttClient with the given configuration parameters
DEFAULT_NETWORK |
static val DEFAULT_NETWORK: Bytes32! |
fromNet |
Creates a scuttlebutt client by connecting with the given host, port and keypair static fun fromNet(host: String!, port: Int, keyPair: KeyPair!, serverPublicKey: PublicKey!): AsyncResult<ScuttlebuttClient!>! |
fromNetWithNetworkKey |
Creates a SSB client with a network key static fun fromNetWithNetworkKey(vertx: Vertx!, host: String!, port: Int, keyPair: KeyPair!, serverPublicKey: PublicKey!, networkIdentifier: Bytes32!): AsyncResult<ScuttlebuttClient!>! |
fromNetWithVertx |
Creates a scuttlebutt client by connecting with the given host, port and keypair using the given vertx instance. static fun fromNetWithVertx(vertx: Vertx!, host: String!, port: Int, keyPair: KeyPair!, serverPublicKey: PublicKey!): AsyncResult<ScuttlebuttClient!>! |
withInvite |
Creates a SSB client with an invite static fun withInvite(vertx: Vertx!, keyPair: KeyPair!, invite: Invite!, networkIdentifier: Bytes32!): AsyncResult<ScuttlebuttClient!>! |