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 |
---|---|
java.lang.String |
getName()
Returns the name of the notification.
|
void |
writeBody(CommandSender commandSender)
Writes the body of the notification using the given command sender.
|
java.lang.String getName()
void writeBody(CommandSender commandSender) throws java.io.IOException
commandSender
- the command sender to use to write the notification body.java.io.IOException
- if an exception occurs while writing the notification body.