public class SmppServerConfiguration extends Object
| Constructor and Description |
|---|
SmppServerConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
long |
getBindTimeout() |
long |
getDefaultRequestExpiryTimeout() |
long |
getDefaultWindowMonitorInterval() |
int |
getDefaultWindowSize() |
long |
getDefaultWindowWaitTimeout() |
byte |
getInterfaceVersion() |
String |
getJmxDomain() |
int |
getMaxConnectionSize() |
String |
getName() |
int |
getPort() |
SslConfiguration |
getSslConfiguration() |
String |
getSystemId() |
boolean |
isAutoNegotiateInterfaceVersion() |
boolean |
isDefaultSessionCountersEnabled() |
boolean |
isJmxEnabled() |
boolean |
isNonBlockingSocketsEnabled() |
boolean |
isReuseAddress() |
boolean |
isUseSsl() |
void |
setAutoNegotiateInterfaceVersion(boolean autoNegotiateInterfaceVersion)
Enables or disables auto sc_interface_version negotiation.
|
void |
setBindTimeout(long value)
Set the amount of time to allow a connection to finish binding into the
server before the server automatically closes the connection.
|
void |
setDefaultRequestExpiryTimeout(long defaultRequestExpiryTimeout) |
void |
setDefaultSessionCountersEnabled(boolean defaultSessionCountersEnabled) |
void |
setDefaultWindowMonitorInterval(long defaultWindowMonitorInterval) |
void |
setDefaultWindowSize(int defaultWindowSize) |
void |
setDefaultWindowWaitTimeout(long defaultWindowWaitTimeout) |
void |
setInterfaceVersion(byte interfaceVersion) |
void |
setJmxDomain(String jmxDomain) |
void |
setJmxEnabled(boolean jmxEnabled) |
void |
setMaxConnectionSize(int maxConnectionSize)
Set the maximum number of connections this server is configured to
handle.
|
void |
setName(String value)
Set the name of the server that is used for some logging and naming of
threads.
|
void |
setNonBlockingSocketsEnabled(boolean nonBlockingSocketsEnabled)
Sets if non-blocking (NIO) is used for this server.
|
void |
setPort(int port) |
void |
setReuseAddress(boolean reuseAddress) |
void |
setSslConfiguration(SslConfiguration value) |
void |
setSystemId(String value)
Set the system id that will be returned in a bind response.
|
void |
setUseSsl(boolean value) |
public String getJmxDomain()
public void setJmxDomain(String jmxDomain)
public boolean isJmxEnabled()
public void setJmxEnabled(boolean jmxEnabled)
public boolean isReuseAddress()
public void setReuseAddress(boolean reuseAddress)
public boolean isNonBlockingSocketsEnabled()
public void setNonBlockingSocketsEnabled(boolean nonBlockingSocketsEnabled)
nonBlockingSocketsEnabled - True if enabled, otherwise falsepublic int getMaxConnectionSize()
public void setMaxConnectionSize(int maxConnectionSize)
maxConnectionSize - Max number of connections. Must be >= 1public void setName(String value)
value - The name of this serverpublic String getName()
public int getPort()
public void setPort(int port)
public void setUseSsl(boolean value)
public boolean isUseSsl()
public void setSslConfiguration(SslConfiguration value)
public SslConfiguration getSslConfiguration()
public void setBindTimeout(long value)
value - The number of milliseconds to wait for a bind to be established
before a socket will be closed.public long getBindTimeout()
public void setSystemId(String value)
value - The system id to return in a bind responsepublic String getSystemId()
public boolean isAutoNegotiateInterfaceVersion()
public void setAutoNegotiateInterfaceVersion(boolean autoNegotiateInterfaceVersion)
autoNegotiateInterfaceVersion - public byte getInterfaceVersion()
public void setInterfaceVersion(byte interfaceVersion)
public long getDefaultRequestExpiryTimeout()
public void setDefaultRequestExpiryTimeout(long defaultRequestExpiryTimeout)
public long getDefaultWindowMonitorInterval()
public void setDefaultWindowMonitorInterval(long defaultWindowMonitorInterval)
public int getDefaultWindowSize()
public void setDefaultWindowSize(int defaultWindowSize)
public long getDefaultWindowWaitTimeout()
public void setDefaultWindowWaitTimeout(long defaultWindowWaitTimeout)
public boolean isDefaultSessionCountersEnabled()
public void setDefaultSessionCountersEnabled(boolean defaultSessionCountersEnabled)
Copyright © 2009-2014 Cloudhopper by Twitter. All Rights Reserved.