org.jsmpp.session.state
Class SMPPSessionBoundRX
java.lang.Object
org.jsmpp.session.state.AbstractGenericSMPPSessionBound
org.jsmpp.session.state.SMPPSessionBound
org.jsmpp.session.state.SMPPSessionBoundRX
- All Implemented Interfaces:
- GenericSMPPSessionState, SMPPSessionState
class SMPPSessionBoundRX
- extends SMPPSessionBound
- implements SMPPSessionState
This class is bound_tx state implementation of SMPPSessionState
.
Response to receiver related transaction.
- Since:
- 2.0
- Version:
- 1.0
- Author:
- uudashr
Method Summary |
SessionState |
getSessionState()
Get the associated session state value. |
void |
processAlertNotification(Command pduHeader,
byte[] pdu,
ResponseHandler responseHandler)
|
(package private) static void |
processAlertNotification0(Command pduHeader,
byte[] pdu,
ResponseHandler responseHandler)
|
void |
processCancelSmResp(Command pduHeader,
byte[] pdu,
ResponseHandler responseHandler)
|
void |
processDeliverSm(Command pduHeader,
byte[] pdu,
ResponseHandler responseHandler)
Process the deliver short message request command. |
(package private) static void |
processDeliverSm0(Command pduHeader,
byte[] pdu,
ResponseHandler responseHandler)
|
void |
processQuerySmResp(Command pduHeader,
byte[] pdu,
ResponseHandler responseHandler)
Process the query short message response command. |
void |
processReplaceSmResp(Command pduHeader,
byte[] pdu,
ResponseHandler responseHandler)
|
void |
processSubmitMultiResp(Command pduHeader,
byte[] pdu,
ResponseHandler responseHandler)
Process a submit multiple message response. |
void |
processSubmitSmResp(Command pduHeader,
byte[] pdu,
ResponseHandler responseHandler)
Process the submit short message response command. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private static final org.slf4j.Logger logger
pduDecomposer
private static final PDUDecomposer pduDecomposer
SMPPSessionBoundRX
SMPPSessionBoundRX()
getSessionState
public SessionState getSessionState()
- Description copied from interface:
GenericSMPPSessionState
- Get the associated session state value.
- Specified by:
getSessionState
in interface GenericSMPPSessionState
- Returns:
- the
SessionState
associated by the interface implementation.
processDeliverSm
public void processDeliverSm(Command pduHeader,
byte[] pdu,
ResponseHandler responseHandler)
throws java.io.IOException
- Description copied from interface:
SMPPSessionState
- Process the deliver short message request command.
- Specified by:
processDeliverSm
in interface SMPPSessionState
- Parameters:
pduHeader
- is the PDU header.pdu
- is the complete PDU.responseHandler
- is the session handler.
- Throws:
java.io.IOException
- throw if there is an IO error occur.
processSubmitSmResp
public void processSubmitSmResp(Command pduHeader,
byte[] pdu,
ResponseHandler responseHandler)
throws java.io.IOException
- Description copied from interface:
SMPPSessionState
- Process the submit short message response command.
- Specified by:
processSubmitSmResp
in interface SMPPSessionState
- Parameters:
pduHeader
- is the PDU header.pdu
- is the complete PDU.responseHandler
- is the response handler.
- Throws:
java.io.IOException
- if there is an I/O error found.
processSubmitMultiResp
public void processSubmitMultiResp(Command pduHeader,
byte[] pdu,
ResponseHandler responseHandler)
throws java.io.IOException
- Description copied from interface:
SMPPSessionState
- Process a submit multiple message response.
- Specified by:
processSubmitMultiResp
in interface SMPPSessionState
- Parameters:
pduHeader
- is the PDU header.pdu
- is the complete PDU.responseHandler
- is the response handler.
- Throws:
java.io.IOException
- if there is an I/O error found.
processQuerySmResp
public void processQuerySmResp(Command pduHeader,
byte[] pdu,
ResponseHandler responseHandler)
throws java.io.IOException
- Description copied from interface:
SMPPSessionState
- Process the query short message response command.
- Specified by:
processQuerySmResp
in interface SMPPSessionState
- Parameters:
pduHeader
- is the PDU header.pdu
- is the complete PDU.responseHandler
- is the session handler.
- Throws:
java.io.IOException
- throw if there is an IO error occur.
processCancelSmResp
public void processCancelSmResp(Command pduHeader,
byte[] pdu,
ResponseHandler responseHandler)
throws java.io.IOException
- Specified by:
processCancelSmResp
in interface SMPPSessionState
- Throws:
java.io.IOException
processReplaceSmResp
public void processReplaceSmResp(Command pduHeader,
byte[] pdu,
ResponseHandler responseHandler)
throws java.io.IOException
- Specified by:
processReplaceSmResp
in interface SMPPSessionState
- Throws:
java.io.IOException
processAlertNotification
public void processAlertNotification(Command pduHeader,
byte[] pdu,
ResponseHandler responseHandler)
- Specified by:
processAlertNotification
in interface SMPPSessionState
processAlertNotification0
static void processAlertNotification0(Command pduHeader,
byte[] pdu,
ResponseHandler responseHandler)
processDeliverSm0
static void processDeliverSm0(Command pduHeader,
byte[] pdu,
ResponseHandler responseHandler)
throws java.io.IOException
- Throws:
java.io.IOException