|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageReceiverListener
This listener will listen to every incoming short message, recognized by
deliver_sm command. The logic on this listener should be accomplish in a
short time, because the deliver_sm_resp will be processed after the logic
executed. Normal logic will be return the deliver_sm_resp with zero valued
command_status, or throw ProcessRequestException
that gave non-zero
valued command_status (in means negative response) depends on the given error
code specified on the ProcessRequestException
.
Method Summary | |
---|---|
void |
onAcceptAlertNotification(AlertNotification alertNotification)
This event raised when alert notification received. |
void |
onAcceptDeliverSm(DeliverSm deliverSm)
This event raised when a short message received. |
Methods inherited from interface org.jsmpp.session.GenericMessageReceiverListener |
---|
onAcceptDataSm |
Method Detail |
---|
void onAcceptDeliverSm(DeliverSm deliverSm) throws ProcessRequestException
deliverSm
- is the short message.
ProcessRequestException
- throw if there should be return Non-OK
command_status for the response.void onAcceptAlertNotification(AlertNotification alertNotification)
alertNotification
- is the alert notification.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |