| Modifier and Type | Method and Description |
|---|---|
TransportConfig |
TransportConfig.addressMapper(Function<io.scalecube.net.Address,io.scalecube.net.Address> addressMapper)
Setter for
addressMapper. |
TransportConfig |
TransportConfig.clientSecured(boolean clientSecured)
Setter to denote whether client part of the transport is secured.
|
TransportConfig |
TransportConfig.clone() |
TransportConfig |
TransportConfig.connectTimeout(int connectTimeout)
Setter for
connectTimeout. |
static TransportConfig |
TransportConfig.defaultConfig() |
static TransportConfig |
TransportConfig.defaultLanConfig()
Creates
ClusterConfig with default settings for cluster on LAN network. |
static TransportConfig |
TransportConfig.defaultLocalConfig()
Creates
MembershipConfig with default settings for cluster on local loopback interface. |
static TransportConfig |
TransportConfig.defaultWanConfig()
Creates
ClusterConfig with default settings for cluster on WAN network. |
TransportConfig |
TransportConfig.maxFrameLength(int maxFrameLength)
Setter for
maxFrameLength. |
TransportConfig |
TransportConfig.messageCodec(MessageCodec messageCodec)
Setter for
messageCodec. |
TransportConfig |
TransportConfig.port(int port)
Setter for
port. |
TransportConfig |
TransportConfig.transportFactory(TransportFactory transportFactory)
Setter for
transportFactory. |
| Modifier and Type | Method and Description |
|---|---|
static reactor.core.publisher.Mono<Transport> |
Transport.bind(TransportConfig config)
Init transport with the given configuration asynchronously.
|
static Transport |
Transport.bindAwait(TransportConfig config)
Init transport with the given configuration synchronously.
|
Transport |
TransportFactory.createTransport(TransportConfig config) |
Copyright © 2015–2021. All rights reserved.