public interface RemoteNotification
RemoteNotification
class represents a notification sent by the RemoteCommandManager
to a
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.
|
void |
writeBody(CommandSender commandSender)
Writes the body of the notification using the given command sender.
|
String getName()
void writeBody(CommandSender commandSender) throws IOException
commandSender
- the command sender to use to write the notification body.IOException
- if an exception occurs while writing the notification body.