Version

SmppServerHandler

public interface SmppServerHandler
This interface defines the server-side callbacks that manage the lifecycle of an SMPP session. It is responsible for processing bind requests, handling session initialization and destruction, and checking session status. The server implementation must provide a concrete class (SmppServerHandlerImpl) that implements these methods.

Methods:

void sessionBindRequested(SmppSessionConfiguration sessionConfiguration, BaseBind bindRequest) Called when a bind request is received. The implementation should validate the bind request (e.g., check credentials) and may throw SmppProcessingException if validation fails.
void sessionCreated(SmppServerSession session, BaseBindResp preparedBindResponse) Invoked after the session is successfully bound. Used to initialize session-related logic or assign a handler.
void sessionDestroyed(SmppServerSession session) Triggered when the session is destroyed. This is used to clean up resources, log events, or update session tracking.
Boolean isUp(String uniqueID) Returns the availability status of a session based on its unique identifier.

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