public interface ServerResponseDeliveryListener
SMPPServerSession
to notify a user
when a response has been sent.
Some of user code might be implemented on SMPPServerSession
is
Modifier and Type | Method and Description |
---|---|
void |
onSubmitMultiRespError(SubmitMultiResult submitMultiResult,
Exception cause,
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 cause,
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.
|
void onSubmitSmRespSent(MessageId messageId, SMPPServerSession source)
messageId
- is the message id that will be sent to client as
response.source
- is the session who handle this response.void onSubmitSmRespError(MessageId messageId, Exception cause, SMPPServerSession source)
messageId
- is the message id that will be sent to client as
response.cause
- is the failure cause.source
- is the session who handle this response.void onSubmitMultiRespSent(SubmitMultiResult submitMultiResult, SMPPServerSession source)
submitMultiResult
- is the result that will be sent to client as
response.source
- is the session who handle this response.void onSubmitMultiRespError(SubmitMultiResult submitMultiResult, Exception cause, SMPPServerSession source)
submitMultiResult
- is the result that will be sent to client as
response.cause
- is the failure cause.source
- is the session who handle this response.