public class EventNotificationListener extends Object implements RemoteNotificationListener
Constructor and Description |
---|
EventNotificationListener() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of the notification managed by this listener.
|
void |
notificationReceived(CommandReader commandReader)
Handles the notification.
|
public String getName()
RemoteNotificationListener
getName
in interface RemoteNotificationListener
public void notificationReceived(CommandReader commandReader)
RemoteNotificationListener
notificationReceived
in interface RemoteNotificationListener
commandReader
- the command reader to use to read the notification body.