public static class Carrier.Options
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Carrier.Options.BootstrapNode |
static class |
Carrier.Options.ExpressNode |
| Constructor and Description |
|---|
Options() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Carrier.Options.BootstrapNode> |
getBootstrapNodes() |
java.util.List<Carrier.Options.ExpressNode> |
getExpressNodes() |
java.lang.String |
getPersistentLocation()
Get the persistent data location.
|
byte[] |
getSecretKey()
Get the secret key.
|
boolean |
getUdpEnabled()
Get the udp transport used or not.
|
Carrier.Options |
setBootstrapNodes(java.util.List<Carrier.Options.BootstrapNode> bootstrapNodes) |
Carrier.Options |
setExpressNodes(java.util.List<Carrier.Options.ExpressNode> expressNodes) |
Carrier.Options |
setPersistentLocation(java.lang.String persistentLocation)
Set the persistent data location.
|
Carrier.Options |
setSecretKey(byte[] secretKey)
Set the secret key.
|
Carrier.Options |
setUdpEnabled(boolean udpEnabled)
Set to use udp transport or not.
|
public Carrier.Options setPersistentLocation(java.lang.String persistentLocation)
persistentLocation - The persistent data location to setpublic java.lang.String getPersistentLocation()
public Carrier.Options setSecretKey(byte[] secretKey)
secretKey - The secret key to setpublic byte[] getSecretKey()
public Carrier.Options setUdpEnabled(boolean udpEnabled)
udpEnabled - flag to enable or disable udp transport.public boolean getUdpEnabled()
public Carrier.Options setBootstrapNodes(java.util.List<Carrier.Options.BootstrapNode> bootstrapNodes)
public java.util.List<Carrier.Options.BootstrapNode> getBootstrapNodes()
public Carrier.Options setExpressNodes(java.util.List<Carrier.Options.ExpressNode> expressNodes)
public java.util.List<Carrier.Options.ExpressNode> getExpressNodes()