SmppServerConfiguration
public class SmppServerConfiguration
Extends: SmppConnectionConfiguration
SmppServerConfiguration defines the full set of configurable parameters for an SMPP server instance. It extends the basic connection-level settings from SmppConnectionConfiguration with server-specific features, including session limits, SSL support, bind negotiation behavior, and protocol versioning. This class is used when initializing an SMPP server listener to accept and manage inbound client connections.
Fields:
DEFAULT_SERVER_MAX_CONNECTION_SIZE
Fields inherited from class com.mobius.software.protocols.smpp.channel.SmppConnectionConfiguration
DEFAULT_CONNECT_TIMEOUT
Constructor:
public SmppServerConfiguration()
Creates an empty server configuration with default values.
Methods:
int getMaxConnectionSize() | Returns the maximum number of simultaneous client connections allowed. |
void setMaxConnectionSize(int maxConnectionSize) | Sets the upper limit for client connections the server will accept. |
void setName(String value) | Sets a name for the server instance (optional, for identification or logging). |
String getName() | Returns the configured server name. |
void setUseSsl(boolean value) | Enables or disables SSL/TLS for incoming connections. |
boolean isUseSsl() | Indicates whether SSL/TLS is currently enabled. |
void setSslConfiguration(SslConfiguration value) | Sets the detailed SSL configuration object. |
SslConfiguration getSslConfiguration() | Retrieves the current SSL configuration. |
void setBindTimeout(long value) | Sets the maximum time (in ms) allowed for a bind operation to complete. |
long getBindTimeout() | Returns the configured bind timeout. |
void setSystemId(String value) | Defines the system ID the server advertises in bind responses. |
String getSystemId() | Retrieves the configured system ID. |
boolean isAutoNegotiateInterfaceVersion() | Indicates whether the server automatically negotiates SMPP version with the client. |
void setAutoNegotiateInterfaceVersion(boolean value) | Enables or disables automatic interface version negotiation. |
SmppVersion getInterfaceVersion() | Gets the SMPP version the server currently uses. |
void setInterfaceVersion(SmppVersion interfaceVersion) | Sets the interface version to use in communication. |
long getDefaultRequestExpiryTimeout() | Gets the timeout for how long the server should wait before expiring a pending request. |
void setDefaultRequestExpiryTimeout(long value) | Sets the default expiry timeout (in ms) for requests awaiting a response. |
Start innovating with Mobius
What's next? Let's talk!