|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jsmpp.examples.MessageReceiverListenerImpl
public class MessageReceiverListenerImpl
| Constructor Summary | |
|---|---|
MessageReceiverListenerImpl()
|
|
| Method Summary | |
|---|---|
void |
onAcceptAlertNotification(AlertNotification alertNotification)
This event raised when alert notification received. |
DataSmResult |
onAcceptDataSm(DataSm dataSm,
Session source)
Event that called when a data short message accepted. |
void |
onAcceptDeliverSm(DeliverSm deliverSm)
This event raised when a short message received. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MessageReceiverListenerImpl()
| Method Detail |
|---|
public void onAcceptDeliverSm(DeliverSm deliverSm)
throws ProcessRequestException
MessageReceiverListener
onAcceptDeliverSm in interface MessageReceiverListenerdeliverSm - is the short message.
ProcessRequestException - throw if there should be return Non-OK
command_status for the response.public void onAcceptAlertNotification(AlertNotification alertNotification)
MessageReceiverListener
onAcceptAlertNotification in interface MessageReceiverListeneralertNotification - is the alert notification.
public DataSmResult onAcceptDataSm(DataSm dataSm,
Session source)
throws ProcessRequestException
GenericMessageReceiverListener
onAcceptDataSm in interface GenericMessageReceiverListenerdataSm - is the data_sm command.source - is the session receive the data_sm command.
ProcessRequestException - throw if there should be return non-ok
command_status for the response.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||