public abstract class ServerResponseDeliveryAdapter extends Object implements ServerResponseDeliveryListener
ServerResponseDeliveryListener.
This is alternative from implementing ServerResponseDeliveryListener.
User only have to create subclass of this class and doesn't have to implement
all method declared on ServerResponseDeliveryListener.
| Constructor and Description |
|---|
ServerResponseDeliveryAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
onSubmitMultiRespError(SubmitMultiResult submitMultiResult,
Exception e,
SMPPServerSession source)
This event raised when submit_multi_resp delivery is failed.
|
void |
onSubmitMultiRespSent(SubmitMultiResult submitMultiResult,
SMPPServerSession source)
This event raised when submit_multi_resp delivery is succeed.
|
void |
onSubmitSmRespError(MessageId messageId,
Exception e,
SMPPServerSession source)
This event raised when submit_sm_resp delivery is failed.
|
void |
onSubmitSmRespSent(MessageId messageId,
SMPPServerSession source)
This event raised when submit_sm_resp delivery is succeed.
|
public void onSubmitSmRespSent(MessageId messageId, SMPPServerSession source)
ServerResponseDeliveryListeneronSubmitSmRespSent in interface ServerResponseDeliveryListenermessageId - is the message id that will be sent to client as
response.source - is the session who handle this response.public void onSubmitSmRespError(MessageId messageId, Exception e, SMPPServerSession source)
ServerResponseDeliveryListeneronSubmitSmRespError in interface ServerResponseDeliveryListenermessageId - is the message id that will be sent to client as
response.e - is the failure cause.source - is the session who handle this response.public void onSubmitMultiRespSent(SubmitMultiResult submitMultiResult, SMPPServerSession source)
ServerResponseDeliveryListeneronSubmitMultiRespSent in interface ServerResponseDeliveryListenersubmitMultiResult - is the result that will be sent to client as
response.source - is the session who handle this response.public void onSubmitMultiRespError(SubmitMultiResult submitMultiResult, Exception e, SMPPServerSession source)
ServerResponseDeliveryListeneronSubmitMultiRespError in interface ServerResponseDeliveryListenersubmitMultiResult - is the result that will be sent to client as
response.e - is the failure cause.source - is the session who handle this response.