org.jsmpp.session.state
Class SMPPSessionBoundRX

java.lang.Object
  extended by org.jsmpp.session.state.AbstractGenericSMPPSessionBound
      extended by org.jsmpp.session.state.SMPPSessionBound
          extended by 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

Field Summary
private static org.slf4j.Logger logger
           
private static PDUDecomposer pduDecomposer
           
 
Fields inherited from interface org.jsmpp.session.state.SMPPSessionState
BOUND_RX, BOUND_TRX, BOUND_TX, CLOSED, OPEN, UNBOUND
 
Constructor Summary
SMPPSessionBoundRX()
           
 
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 org.jsmpp.session.state.SMPPSessionBound
processBindResp
 
Methods inherited from class org.jsmpp.session.state.AbstractGenericSMPPSessionBound
processDataSm, processDataSmResp, processEnquireLink, processEnquireLinkResp, processGenericNack, processUnbind, processUnbindResp, processUnknownCid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jsmpp.session.state.SMPPSessionState
processBindResp
 
Methods inherited from interface org.jsmpp.session.state.GenericSMPPSessionState
processDataSm, processDataSmResp, processEnquireLink, processEnquireLinkResp, processGenericNack, processUnbind, processUnbindResp, processUnknownCid
 

Field Detail

logger

private static final org.slf4j.Logger logger

pduDecomposer

private static final PDUDecomposer pduDecomposer
Constructor Detail

SMPPSessionBoundRX

SMPPSessionBoundRX()
Method Detail

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