public interface MessageReceiverListener extends GenericMessageReceiverListener
ProcessRequestException
that gave non-zero
valued command_status (in means negative response) depends on the given error
code specified on the ProcessRequestException
.Modifier and Type | Method and Description |
---|---|
void |
onAcceptAlertNotification(AlertNotification alertNotification)
This event raised when alert notification received.
|
void |
onAcceptDeliverSm(DeliverSm deliverSm)
This event raised when a short message received.
|
onAcceptDataSm
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.