|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SMPPSessionState
This class is provide interface to response to every incoming SMPP Commands. How the the response behavior is depends to it's states, or the implementation of this class.
| Field Summary | |
|---|---|
static SMPPSessionState |
BOUND_RX
|
static SMPPSessionState |
BOUND_TRX
|
static SMPPSessionState |
BOUND_TX
|
static SMPPSessionState |
CLOSED
|
static SMPPSessionState |
OPEN
|
static SMPPSessionState |
UNBOUND
|
| Method Summary | |
|---|---|
void |
processAlertNotification(Command pduHeader,
byte[] pdu,
ResponseHandler responseHandler)
|
void |
processBindResp(Command pduHeader,
byte[] pdu,
ResponseHandler responseHandler)
Process the bind response command. |
void |
processCancelSmResp(Command pduHeader,
byte[] pdu,
ResponseHandler responseHandler)
|
void |
processDeliverSm(Command pduHeader,
byte[] pdu,
ResponseHandler responseHandler)
Process the deliver short message request command. |
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 interface org.jsmpp.session.state.GenericSMPPSessionState |
|---|
getSessionState, processDataSm, processDataSmResp, processEnquireLink, processEnquireLinkResp, processGenericNack, processUnbind, processUnbindResp, processUnknownCid |
| Field Detail |
|---|
static final SMPPSessionState OPEN
static final SMPPSessionState BOUND_RX
static final SMPPSessionState BOUND_TX
static final SMPPSessionState BOUND_TRX
static final SMPPSessionState UNBOUND
static final SMPPSessionState CLOSED
| Method Detail |
|---|
void processBindResp(Command pduHeader,
byte[] pdu,
ResponseHandler responseHandler)
throws java.io.IOException
pduHeader - is the PDU header.pdu - is the complete PDU.responseHandler - is the session handler.
java.io.IOException - throw if there is an IO error occur.
void processSubmitSmResp(Command pduHeader,
byte[] pdu,
ResponseHandler responseHandler)
throws java.io.IOException
pduHeader - is the PDU header.pdu - is the complete PDU.responseHandler - is the response handler.
java.io.IOException - if there is an I/O error found.
void processSubmitMultiResp(Command pduHeader,
byte[] pdu,
ResponseHandler responseHandler)
throws java.io.IOException
pduHeader - is the PDU header.pdu - is the complete PDU.responseHandler - is the response handler.
java.io.IOException - if there is an I/O error found.
void processQuerySmResp(Command pduHeader,
byte[] pdu,
ResponseHandler responseHandler)
throws java.io.IOException
pduHeader - is the PDU header.pdu - is the complete PDU.responseHandler - is the session handler.
java.io.IOException - throw if there is an IO error occur.
void processDeliverSm(Command pduHeader,
byte[] pdu,
ResponseHandler responseHandler)
throws java.io.IOException
pduHeader - is the PDU header.pdu - is the complete PDU.responseHandler - is the session handler.
java.io.IOException - throw if there is an IO error occur.
void processCancelSmResp(Command pduHeader,
byte[] pdu,
ResponseHandler responseHandler)
throws java.io.IOException
java.io.IOException
void processReplaceSmResp(Command pduHeader,
byte[] pdu,
ResponseHandler responseHandler)
throws java.io.IOException
java.io.IOException
void processAlertNotification(Command pduHeader,
byte[] pdu,
ResponseHandler responseHandler)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||