Class EventAvailableNotification
- java.lang.Object
-
- ej.library.iot.rcommand.bluetooth.notifications.EventAvailableNotification
-
- All Implemented Interfaces:
RemoteNotification
public class EventAvailableNotification extends Object implements RemoteNotification
-
-
Constructor Summary
Constructors Constructor Description EventAvailableNotification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Returns the name of the notification.voidwriteBody(CommandSender sender)Writes the body of the notification using the given command sender.
-
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:RemoteNotificationReturns the name of the notification.- Specified by:
getNamein interfaceRemoteNotification- Returns:
- the notification name.
-
writeBody
public void writeBody(CommandSender sender) throws IOException
Description copied from interface:RemoteNotificationWrites the body of the notification using the given command sender.- Specified by:
writeBodyin interfaceRemoteNotification- Parameters:
sender- the command sender to use to write the notification body.- Throws:
IOException- if an exception occurs while writing the notification body.
-
-