public interface RemoteNotificationListener
RemoteNotificationListener
class handles the notifications sent by a RemoteCommandManager
to
the RemoteCommandClient
. Notifications may be sent by the manager without any action from the client and do
not expect a response or an acknowledgment.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.
|
String getName()
void notificationReceived(CommandReader commandReader)
commandReader
- the command reader to use to read the notification body.