Version

SmppServer

public class SmppServer
Extends: java.lang.Object
SmppServer represents the core SMPP server component responsible for accepting and managing inbound connections from SMPP clients. It handles session initialization, configuration, lifecycle management, and communication through Netty I/O. This class acts as the primary entry point for deploying a server-side SMPP interface.

Constructor:

public SmppServer(Boolean isEpoll,
                  SmppServerConfiguration configuration,
                  SmppServerHandler serverHandler,
                  EventLoopGroup acceptorGroup,
                  EventLoopGroup clientGroup,
                  PeriodicQueuedTasks<Timer> timersQueue)

Parameters:
    isEpoll: Enables native Epoll transport on supported systems (Linux).
    configuration: The server configuration (host, port, timeouts, etc.).
    serverHandler: Handler that reacts to server events like new session bindings.
    acceptorGroup: Netty group for accepting TCP connections.
    clientGroup: Netty group for handling client I/O.
    timersQueue: Task scheduler for internal timeout operations.
The configuration passed during construction defines all network and session-level parameters.

Methods:

boolean isStarted() Returns true if the server has been started.
boolean isStopped() Returns true if the server has been stopped.
boolean isDestroyed() Returns true if the server has been permanently shut down.
void start()

Starts the SMPP server and begins accepting connections.

Throws: SmppChannelException if server startup fails.

void stop() Gracefully stops the server and closes all active sessions.
void destroy() Cleans up all server resources and permanently shuts it down.
Boolean isUp(String uniqueID) Checks if a session with the given unique ID is currently active.
PduTranscoder getTranscoder() Returns the PduTranscoder used for encoding and decoding SMPP PDUs.
SmppServerConfiguration getConfiguration() Returns the server's active configuration.

Start innovating with Mobius

What's next? Let's talk!

Mobius Software

As a company you'll get:

  • Get started quickly

  • Support any business model

  • Join millions of businesses

Questions? websupport@mobius.com