public interface SmppSessionHandler extends PduTranscoderContext
| Modifier and Type | Method and Description |
|---|---|
void |
fireChannelUnexpectedlyClosed()
Called when the underlying channel of a session has been closed and it
wasn't at the request of our side.
|
void |
fireExpectedPduResponseReceived(PduAsyncResponse pduAsyncResponse)
Called when a response PDU is received for a previously sent request PDU.
|
void |
firePduRequestExpired(PduRequest pduRequest)
Called when a request PDU has not received an associated response within
the expiry time.
|
PduResponse |
firePduRequestReceived(PduRequest pduRequest)
Called when a request PDU such as a "DeliverSM" has been received on a
session.
|
void |
fireRecoverablePduException(RecoverablePduException e)
Called when a "recoverable" exception has been thrown downstream in
the session's pipeline.
|
void |
fireUnexpectedPduResponseReceived(PduResponse pduResponse)
Called when a response PDU is received for a request this session never sent.
|
void |
fireUnknownThrowable(Throwable t)
Called when any exception/throwable has been thrown downstream in
the session's pipeline that wasn't of the types: UnrecoverablePduException
or RecoverablePduException.
|
void |
fireUnrecoverablePduException(UnrecoverablePduException e)
Called when an "unrecoverable" exception has been thrown downstream in
the session's pipeline.
|
lookupResultMessage, lookupTlvTagNamevoid fireChannelUnexpectedlyClosed()
PduResponse firePduRequestReceived(PduRequest pduRequest)
pduRequest - The request PDU received on this sessionvoid firePduRequestExpired(PduRequest pduRequest)
pduRequest - The request PDU received on this sessionvoid fireExpectedPduResponseReceived(PduAsyncResponse pduAsyncResponse)
pduAsyncResponse - The "expected" response PDU received on this sessionvoid fireUnexpectedPduResponseReceived(PduResponse pduResponse)
pduResponse - The "unexpected" response PDU received on this sessionvoid fireUnrecoverablePduException(UnrecoverablePduException e)
e - The exceptionvoid fireRecoverablePduException(RecoverablePduException e)
e - The exceptionvoid fireUnknownThrowable(Throwable t)
e - The exceptionCopyright © 2009-2014 Cloudhopper by Twitter. All Rights Reserved.