Version
EmptySmppSessionHandler
public class EmptySmppSessionHandler
extends: java.lang.Object
Implements: SmppSessionListener
This class implements SmppSessionHandler and serves as a fallback or placeholder listener that reacts to events without applying any custom logic.
It can be extended or replaced by more complex handlers.
Fields:
static org.apache.logging.log4j.Logger | logger |
Constructor:
public EmptySmppSessionHandler()
Creates a new instance of EmptySmppSessionHandler. Used when no custom session handling logic is required.
Methods:
void fireChannelUnexpectedlyClosed() | Callback for unexpected channel closure. |
void firePduRequestReceived(PduRequest pduRequest) | Triggered when a PDU request is received. |
void fireExpectedPduResponseReceived(PduRequest pduRequest, PduResponse pduResponse) | Called when the expected response to a request is received. |
void fireUnexpectedPduResponseReceived(PduResponse pduResponse) | Triggered on receipt of an unexpected response. |
void fireUnrecoverablePduException(UnrecoverablePduException e) | Handles unrecoverable decoding or protocol errors. |
void fireRecoverablePduException(RecoverablePduException e) | Handles recoverable protocol issues. |
void fireUnknownThrowable(Throwable t) | Catches any uncategorized exceptions during session activity. |
void firePduRequestExpired(PduRequest pduRequest) | Called when a pending request times out. |
boolean firePduReceived(Pdu pdu) | Invoked when a raw PDU is received; returns whether it was handled. |
boolean firePduDispatch(Pdu pdu) | Invoked when a PDU is ready for dispatching; returns success status. |
void setSession(SmppSession session) | Assigns the session associated with this handler. |
Methods inherited from class java.lang.Object |
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Start innovating with Mobius
What's next? Let's talk!