public class NetworkConfig extends Object implements DataSerializable
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_PORT |
Constructor and Description |
---|
NetworkConfig() |
public static final int DEFAULT_PORT
public int getPort()
public NetworkConfig setPort(int port)
port
- the port to setpublic boolean isPortAutoIncrement()
public NetworkConfig setPortAutoIncrement(boolean portAutoIncrement)
portAutoIncrement
- the portAutoIncrement to setpublic boolean isReuseAddress()
public NetworkConfig setReuseAddress(boolean reuseAddress)
public Collection<String> getOutboundPortDefinitions()
public NetworkConfig setOutboundPortDefinitions(Collection<String> outboundPortDefs)
public NetworkConfig addOutboundPortDefinition(String portDef)
public Collection<Integer> getOutboundPorts()
public NetworkConfig setOutboundPorts(Collection<Integer> outboundPorts)
public NetworkConfig addOutboundPort(int port)
public Interfaces getInterfaces()
public NetworkConfig setInterfaces(Interfaces interfaces)
interfaces
- the interfaces to setpublic Join getJoin()
public NetworkConfig setJoin(Join join)
join
- the join to setpublic String getPublicAddress()
public void setPublicAddress(String publicAddress)
public NetworkConfig setSocketInterceptorConfig(SocketInterceptorConfig socketInterceptorConfig)
public SocketInterceptorConfig getSocketInterceptorConfig()
public SymmetricEncryptionConfig getSymmetricEncryptionConfig()
public NetworkConfig setSymmetricEncryptionConfig(SymmetricEncryptionConfig symmetricEncryptionConfig)
public AsymmetricEncryptionConfig getAsymmetricEncryptionConfig()
public NetworkConfig setAsymmetricEncryptionConfig(AsymmetricEncryptionConfig asymmetricEncryptionConfig)
public SSLConfig getSSLConfig()
public NetworkConfig setSSLConfig(SSLConfig sslConfig)
public void writeData(DataOutput out) throws IOException
writeData
in interface DataSerializable
IOException
public void readData(DataInput in) throws IOException
readData
in interface DataSerializable
IOException
Copyright © 2008-2013 Hazelcast, Inc. All Rights Reserved.