public interface SMPPServerSessionState
Modifier and Type | Field and Description |
---|---|
static SMPPServerSessionState |
BOUND_RX |
static SMPPServerSessionState |
BOUND_TRX |
static SMPPServerSessionState |
BOUND_TX |
static SMPPServerSessionState |
CLOSED |
static SMPPServerSessionState |
OPEN |
static SMPPServerSessionState |
UNBOUND |
Modifier and Type | Method and Description |
---|---|
SessionState |
getSessionState()
Get the associated session state value.
|
void |
processBind(Command pduHeader,
byte[] pdu,
ServerResponseHandler responseHandler)
Process the bind request command.
|
void |
processCancelSm(Command pduHeader,
byte[] pdu,
ServerResponseHandler responseHandler)
Process the cancel short message request command.
|
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 |
processDeliverSmResp(Command pduHeader,
byte[] pdu,
ServerResponseHandler responseHandler) |
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 |
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.
|
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 SMPPServerSessionState OPEN
static final SMPPServerSessionState BOUND_RX
static final SMPPServerSessionState BOUND_TX
static final SMPPServerSessionState BOUND_TRX
static final SMPPServerSessionState UNBOUND
static final SMPPServerSessionState CLOSED
void processBind(Command pduHeader, byte[] pdu, ServerResponseHandler responseHandler) throws IOException
pduHeader
- is the PDU header.pdu
- is the complete PDU.responseHandler
- is the response handler.IOException
- if there is an IO error occur.void processSubmitSm(Command pduHeader, byte[] pdu, ServerResponseHandler responseHandler) throws IOException
pduHeader
- is the PDU header.pdu
- is the complete PDU.responseHandler
- is the response handler.IOException
void processSubmitMulti(Command pduHeader, byte[] pdu, ServerResponseHandler responseHandler) throws IOException
IOException
void processQuerySm(Command pduHeader, byte[] pdu, ServerResponseHandler responseHandler) throws IOException
IOException
void processDeliverSmResp(Command pduHeader, byte[] pdu, ServerResponseHandler responseHandler) throws IOException
IOException
void processCancelSm(Command pduHeader, byte[] pdu, ServerResponseHandler responseHandler) throws IOException
pduHeader
- is the PDU header.pdu
- is the complete PDU.responseHandler
- is the session handler.IOException
- throw if there is an IO error occur.void processReplaceSm(Command pduHeader, byte[] pdu, ServerResponseHandler responseHandler) throws IOException
IOException
SessionState getSessionState()
SessionState
associated by the interface implementation.void processGenericNack(Command pduHeader, byte[] pdu, BaseResponseHandler responseHandler) throws IOException
pduHeader
- is the PDU header.pdu
- is the complete PDU.responseHandler
- is the session handler.IOException
- throw if there is an IO error occur.void processEnquireLink(Command pduHeader, byte[] pdu, BaseResponseHandler responseHandler) throws IOException
pduHeader
- is the PDU header.pdu
- is the complete PDU.responseHandler
- is the session handler.IOException
- throw if there is an IO error occur.void processEnquireLinkResp(Command pduHeader, byte[] pdu, BaseResponseHandler responseHandler) throws IOException
pduHeader
- is the PDU header.pdu
- is the complete PDU.responseHandler
- is the session handler.IOException
- throw if there is an IO error occur.void processUnbind(Command pduHeader, byte[] pdu, BaseResponseHandler responseHandler) throws IOException
pduHeader
- is the PDU header.pdu
- is the complete PDU.responseHandler
- is the session handler.IOException
- throw if there is an IO error occur.void processUnbindResp(Command pduHeader, byte[] pdu, BaseResponseHandler responseHandler) throws IOException
pduHeader
- is the PDU header.pdu
- is the complete PDU.responseHandler
- is the session handler.IOException
- throw if there is an IO error occur.void processUnknownCid(Command pduHeader, byte[] pdu, BaseResponseHandler responseHandler) throws IOException
pduHeader
- is the PDU header.pdu
- is the complete PDU.responseHandler
- is the session handler.IOException
- throw if there is an IO error occur.void processDataSm(Command pduHeader, byte[] pdu, BaseResponseHandler responseHandler) throws IOException
pduHeader
- is the PDU header.pdu
- is the complete PDU.responseHandler
- is the session handler.IOException
- throw if there is an IO error occur.void processDataSmResp(Command pduHeader, byte[] pdu, BaseResponseHandler responseHandler) throws IOException
pduHeader
- is the PDU header.pdu
- is the complete PDU.responseHandler
- is the session handler.IOException
- throw if there is an IO error occur.