org.jsmpp.session.state
Class SMPPServerSessionBoundRX

java.lang.Object
  extended by org.jsmpp.session.state.AbstractGenericSMPPSessionBound
      extended by org.jsmpp.session.state.SMPPServerSessionBound
          extended by org.jsmpp.session.state.SMPPServerSessionBoundRX
All Implemented Interfaces:
GenericSMPPSessionState, SMPPServerSessionState

 class SMPPServerSessionBoundRX
extends SMPPServerSessionBound
implements SMPPServerSessionState

Author:
uudashr

Field Summary
private static org.slf4j.Logger logger
           
 
Fields inherited from class org.jsmpp.session.state.AbstractGenericSMPPSessionBound
pduDecomposer
 
Fields inherited from interface org.jsmpp.session.state.SMPPServerSessionState
BOUND_RX, BOUND_TRX, BOUND_TX, CLOSED, OPEN, UNBOUND
 
Constructor Summary
SMPPServerSessionBoundRX()
           
 
Method Summary
 SessionState getSessionState()
          Get the associated session state value.
 void processCancelSm(Command pduHeader, byte[] pdu, ServerResponseHandler responseHandler)
          Process the cancel short message request command.
 void processDeliverSmResp(Command pduHeader, byte[] pdu, ServerResponseHandler responseHandler)
           
(package private) static void processDeliverSmResp0(Command pduHeader, byte[] pdu, ServerResponseHandler responseHandler)
           
 void processQuerySm(Command pduHeader, byte[] pdu, ServerResponseHandler responseHandler)
           
 void processReplaceSm(Command pduHeader, byte[] pdu, ServerResponseHandler responseHandler)
           
 void processSubmitMulti(Command pduHeader, byte[] pdu, ServerResponseHandler responseHandler)
           
 void processSubmitSm(Command pduHeader, byte[] pdu, ServerResponseHandler responseHandler)
          Process the submit short message request command.
 
Methods inherited from class org.jsmpp.session.state.SMPPServerSessionBound
processBind
 
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.SMPPServerSessionState
processBind
 
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
Constructor Detail

SMPPServerSessionBoundRX

SMPPServerSessionBoundRX()
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.

processDeliverSmResp

public void processDeliverSmResp(Command pduHeader,
                                 byte[] pdu,
                                 ServerResponseHandler responseHandler)
                          throws java.io.IOException
Specified by:
processDeliverSmResp in interface SMPPServerSessionState
Throws:
java.io.IOException

processQuerySm

public void processQuerySm(Command pduHeader,
                           byte[] pdu,
                           ServerResponseHandler responseHandler)
                    throws java.io.IOException
Specified by:
processQuerySm in interface SMPPServerSessionState
Throws:
java.io.IOException

processSubmitSm

public void processSubmitSm(Command pduHeader,
                            byte[] pdu,
                            ServerResponseHandler responseHandler)
                     throws java.io.IOException
Description copied from interface: SMPPServerSessionState
Process the submit short message request command.

Specified by:
processSubmitSm in interface SMPPServerSessionState
Parameters:
pduHeader - is the PDU header.
pdu - is the complete PDU.
responseHandler - is the response handler.
Throws:
java.io.IOException

processSubmitMulti

public void processSubmitMulti(Command pduHeader,
                               byte[] pdu,
                               ServerResponseHandler responseHandler)
                        throws java.io.IOException
Specified by:
processSubmitMulti in interface SMPPServerSessionState
Throws:
java.io.IOException

processCancelSm

public void processCancelSm(Command pduHeader,
                            byte[] pdu,
                            ServerResponseHandler responseHandler)
                     throws java.io.IOException
Description copied from interface: SMPPServerSessionState
Process the cancel short message request command.

Specified by:
processCancelSm in interface SMPPServerSessionState
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.

processReplaceSm

public void processReplaceSm(Command pduHeader,
                             byte[] pdu,
                             ServerResponseHandler responseHandler)
                      throws java.io.IOException
Specified by:
processReplaceSm in interface SMPPServerSessionState
Throws:
java.io.IOException

processDeliverSmResp0

static final void processDeliverSmResp0(Command pduHeader,
                                        byte[] pdu,
                                        ServerResponseHandler responseHandler)
                                 throws java.io.IOException
Throws:
java.io.IOException