public final class DtlsClusterConnectorConfig extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DtlsClusterConnectorConfig.Builder
Builder for cluster connector configuration.
|
| Constructor and Description |
|---|
DtlsClusterConnectorConfig() |
| Modifier and Type | Method and Description |
|---|---|
static DtlsClusterConnectorConfig.Builder |
builder()
Create builder.
|
static DtlsClusterConnectorConfig.Builder |
builder(DtlsClusterConnectorConfig config)
Create builder initialized with provided configuration.
|
protected Object |
clone() |
InetSocketAddress |
getAddress()
Get local socket address for internal cluster connector.
|
SecretKey |
getSecretKey()
Gets PSK secret for cluster internal connector.
|
String |
getSecureIdentity()
Gets PSK identity for cluster internal connector.
|
boolean |
useBackwardMessages()
Enable backward messages.
|
boolean |
useClusterMac()
Enable MAC for cluster messages.
|
public InetSocketAddress getAddress()
public String getSecureIdentity()
null,
if encryption is not used.public SecretKey getSecretKey()
null, if
encryption is not used.public boolean useClusterMac()
true, to enable MAC for forwarded and backwarded
messages, false, otherwise.public boolean useBackwardMessages()
true, to send outgoing messages back via original
receiving connector (router), false, to send outgoing
messages directly.protected Object clone()
public static DtlsClusterConnectorConfig.Builder builder()
public static DtlsClusterConnectorConfig.Builder builder(DtlsClusterConnectorConfig config)
config - configuration for initializationCopyright © 2023 Eclipse Foundation. All rights reserved.