public interface SMPPSessionState
Modifier and Type | Field and Description |
---|---|
static SMPPSessionState |
BOUND_RX |
static SMPPSessionState |
BOUND_TRX |
static SMPPSessionState |
BOUND_TX |
static SMPPSessionState |
CLOSED |
static SMPPSessionState |
OPEN |
static SMPPSessionState |
UNBOUND |
Modifier and Type | Method and Description |
---|---|
SessionState |
getSessionState()
Get the associated session state value.
|
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 |
processDataSm(Command pduHeader,
byte[] pdu,
BaseResponseHandler responseHandler)
Process the data short message request command.
|
void |
processDataSmResp(Command pduHeader,
byte[] pdu,
BaseResponseHandler responseHandler)
Process the data short message response command.
|
void |
processDeliverSm(Command pduHeader,
byte[] pdu,
ResponseHandler responseHandler)
Process the deliver short message request command.
|
void |
processEnquireLink(Command pduHeader,
byte[] pdu,
BaseResponseHandler responseHandler)
Process the enquire_link command.
|
void |
processEnquireLinkResp(Command pduHeader,
byte[] pdu,
BaseResponseHandler responseHandler)
Process the enquire_link_resp command.
|
void |
processGenericNack(Command pduHeader,
byte[] pdu,
BaseResponseHandler responseHandler)
Process the generick_nack 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.
|
void |
processUnbind(Command pduHeader,
byte[] pdu,
BaseResponseHandler responseHandler)
Process the unbind command.
|
void |
processUnbindResp(Command pduHeader,
byte[] pdu,
BaseResponseHandler responseHandler)
Process the unbind_resp command.
|
void |
processUnknownCid(Command pduHeader,
byte[] pdu,
BaseResponseHandler responseHandler)
Process the unknown command id.
|
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
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)
SessionState getSessionState()
SessionState
associated by the interface implementation.void processGenericNack(Command pduHeader, byte[] pdu, BaseResponseHandler 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 processEnquireLink(Command pduHeader, byte[] pdu, BaseResponseHandler 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 processEnquireLinkResp(Command pduHeader, byte[] pdu, BaseResponseHandler 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 processUnbind(Command pduHeader, byte[] pdu, BaseResponseHandler 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 processUnbindResp(Command pduHeader, byte[] pdu, BaseResponseHandler 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 processUnknownCid(Command pduHeader, byte[] pdu, BaseResponseHandler 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 processDataSm(Command pduHeader, byte[] pdu, BaseResponseHandler 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 processDataSmResp(Command pduHeader, byte[] pdu, BaseResponseHandler 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.