public interface PDUDecomposer
Modifier and Type | Method and Description |
---|---|
AlertNotification |
alertNotification(byte[] data) |
Bind |
bind(byte[] b)
Decompose the SMPP PDU bind command.
|
BindResp |
bindResp(byte[] b)
Decompose the SMPP PDU bind response command.
|
CancelSm |
cancelSm(byte[] data)
Decompose the SMPP PDU cancel short message command.
|
CancelSmResp |
cancelSmResp(byte[] data)
Decompose the SMPP PDU cancel short message response command.
|
DataSm |
dataSm(byte[] data)
Decompose the SMPP PDU data short message command.
|
DataSmResp |
dataSmResp(byte[] data)
Decompose the SMPP PDU data short message response command.
|
DeliverSm |
deliverSm(byte[] b)
Decompose the SMPP PDU deliver short message command.
|
DeliverSmResp |
deliverSmResp(byte[] b)
Decompose the SMPP PDU deliver short message response command.
|
DeliveryReceipt |
deliveryReceipt(byte[] data)
Decompose the SMPP PDU delivery receipt content.
|
DeliveryReceipt |
deliveryReceipt(String data)
Decompose the SMPP PDU delivery receipt content.
|
EnquireLink |
enquireLink(byte[] b)
Decompose the SMPP PDU enquire link command.
|
EnquireLinkResp |
enquireLinkResp(byte[] b)
Decompose the SMPP PDU enquire link response command.
|
GenericNack |
genericNack(byte[] b)
Decompose the SMPP PDU generic nack command.
|
Command |
header(byte[] b)
Decompose the header only SMPP PDU command.
|
Outbind |
outbind(byte[] b)
Decompose the SMPP PDU outbind command.
|
QuerySm |
querySm(byte[] b)
Decompose the SMPP PDU query short message command.
|
QuerySmResp |
querySmResp(byte[] b)
Decompose the SMPP PDU query short message reponse command.
|
ReplaceSm |
replaceSm(byte[] data) |
ReplaceSmResp |
replaceSmResp(byte[] data) |
SubmitMulti |
submitMulti(byte[] data) |
SubmitMultiResp |
submitMultiResp(byte[] data) |
SubmitSm |
submitSm(byte[] b)
Decompose the SMPP PDU submit short message command.
|
SubmitSmResp |
submitSmResp(byte[] b)
Decompose the SMPP PDU submit short message response command.
|
Unbind |
unbind(byte[] b)
Decompose the SMPP PDU unbind command.
|
UnbindResp |
unbindResp(byte[] b)
Decompose the SMPP PDU unbind response command.
|
Command header(byte[] b)
b
- is the PDU.Command
) object.Bind bind(byte[] b) throws PDUStringException
b
- is the PDU.PDUStringException
BindResp bindResp(byte[] b) throws PDUStringException
b
- is the PDU.PDUStringException
Unbind unbind(byte[] b)
b
- is the PDU.UnbindResp unbindResp(byte[] b)
b
- is the PDU.Outbind outbind(byte[] b) throws PDUStringException
b
- is the PDU.PDUStringException
EnquireLink enquireLink(byte[] b)
b
- is the PDU.EnquireLinkResp enquireLinkResp(byte[] b)
b
- is the PDU.GenericNack genericNack(byte[] b)
b
- is the PDU.SubmitSm submitSm(byte[] b) throws PDUStringException
b
- is the PDU.PDUStringException
SubmitSmResp submitSmResp(byte[] b) throws PDUStringException
b
- is the PDU.PDUStringException
QuerySm querySm(byte[] b) throws PDUStringException
b
- is the PDU.PDUStringException
QuerySmResp querySmResp(byte[] b) throws PDUStringException
b
- is the PDU.PDUStringException
DeliverSm deliverSm(byte[] b) throws PDUStringException
b
- is the PDU.PDUStringException
- if there is an invalid constraint of
string parameter found.DeliverSmResp deliverSmResp(byte[] b)
b
- is the PDU.DeliveryReceipt deliveryReceipt(String data) throws InvalidDeliveryReceiptException
data
- is the content.InvalidDeliveryReceiptException
- throw if the data is invalid, so
it can be parsed.DeliveryReceipt deliveryReceipt(byte[] data) throws InvalidDeliveryReceiptException
data
- is the content.InvalidDeliveryReceiptException
- throw if the data is invalid, so
it can be parsed.DataSm dataSm(byte[] data) throws PDUStringException
data
- is the PDU.PDUStringException
- if there is an invalid constraint of
string parameter found.DataSmResp dataSmResp(byte[] data) throws PDUStringException
data
- is the PDU.PDUStringException
CancelSm cancelSm(byte[] data) throws PDUStringException
data
- is the PDU.PDUStringException
- if there is an invalid constraint of string
parameter found.CancelSmResp cancelSmResp(byte[] data)
data
- is the PDU.SubmitMulti submitMulti(byte[] data) throws PDUStringException, InvalidNumberOfDestinationsException
SubmitMultiResp submitMultiResp(byte[] data) throws PDUStringException
PDUStringException
ReplaceSm replaceSm(byte[] data) throws PDUStringException
PDUStringException
ReplaceSmResp replaceSmResp(byte[] data)
AlertNotification alertNotification(byte[] data) throws PDUStringException
PDUStringException