|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jsmpp.session.ServerResponseDeliveryAdapter
public abstract class ServerResponseDeliveryAdapter
It's abstract adapter class that receive event of response delivery, an
implementation of 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 Summary | |
---|---|
ServerResponseDeliveryAdapter()
|
Method Summary | |
---|---|
void |
onSubmitMultiRespError(SubmitMultiResult submitMultiResult,
java.lang.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,
java.lang.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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServerResponseDeliveryAdapter()
Method Detail |
---|
public void onSubmitSmRespSent(MessageId messageId, SMPPServerSession source)
ServerResponseDeliveryListener
onSubmitSmRespSent
in interface ServerResponseDeliveryListener
messageId
- 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, java.lang.Exception e, SMPPServerSession source)
ServerResponseDeliveryListener
onSubmitSmRespError
in interface ServerResponseDeliveryListener
messageId
- 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)
ServerResponseDeliveryListener
onSubmitMultiRespSent
in interface ServerResponseDeliveryListener
submitMultiResult
- is the result that will be sent to client as
response.source
- is the session who handle this response.public void onSubmitMultiRespError(SubmitMultiResult submitMultiResult, java.lang.Exception e, SMPPServerSession source)
ServerResponseDeliveryListener
onSubmitMultiRespError
in interface ServerResponseDeliveryListener
submitMultiResult
- is the result that will be sent to client as
response.e
- is the failure cause.source
- is the session who handle this response.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |