SmppConnectionConfiguration
public class SmppConnectionConfiguration
Extends: java.lang.Object
SmppConnectionConfiguration encapsulates basic TCP connection settings required to establish a low-level SMPP session. It provides properties like host, port, and connection timeout, serving as a foundational configuration object used by higher-level session or server components. This class is used as a parent to SmppSessionConfiguration.
Fields:
DEFAULT_CONNECT_TIMEOUT
Constructor:
public SmppConnectionConfiguration()
Creates a blank configuration instance with unset values.
public SmppConnectionConfiguration(String host, int port, long connectTimeout)
host: Remote IP address or hostname of the SMPP server.
port: Port to connect to.
connectTimeout: Timeout for establishing the connection, in milliseconds.
Creates and initializes the configuration with connection-specific values.
Methods:
void setHost(String value) | Sets the destination host (IP or DNS name). |
String getHost() | Returns the currently configured destination host. |
void setPort(int value) | Sets the destination port number. |
int getPort() | Returns the configured port number. |
void setConnectTimeout(long value) | Sets the connection timeout in milliseconds. |
long getConnectTimeout() | Returns the current connection timeout setting. |
Start innovating with Mobius
What's next? Let's talk!