class ScuttlebuttClientFactory
(source)
A factory for constructing a new instance of ScuttlebuttClient with the given configuration parameters
static var DEFAULT_NETWORK: Bytes32 |
static fun defaultNetwork(): Bytes32 |
|
static fun fromNet(mapper: ObjectMapper, host: String, port: Int, keyPair: KeyPair): AsyncResult<ScuttlebuttClient>
Creates a scuttllebutt client by connecting with the given host, port and keypair |
|
static fun fromNetWithNetworkKey(vertx: Vertx, host: String, port: Int, keyPair: KeyPair, networkIdentifier: Bytes32, objectMapper: ObjectMapper, loggerProvider: LoggerProvider): AsyncResult<ScuttlebuttClient> |
|
static fun fromNetWithVertx(mapper: ObjectMapper, vertx: Vertx, host: String, port: Int, keyPair: KeyPair): AsyncResult<ScuttlebuttClient>
Creates a scuttllebutt client by connecting with the given host, port and keypair using the given vertx instance. |