Interface ChannelMessageSink
-
- All Known Subinterfaces:
Player,RegisteredServer,ServerConnection
public interface ChannelMessageSinkRepresents something that can be sent plugin messages.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleansendPluginMessage(ChannelIdentifier identifier, byte[] data)Sends a plugin message to this target.
-
-
-
Method Detail
-
sendPluginMessage
boolean sendPluginMessage(ChannelIdentifier identifier, byte[] data)
Sends a plugin message to this target.- Parameters:
identifier- the channel identifier to send the message ondata- the data to send- Returns:
- whether or not the message could be sent
-
-