Interface ChannelMessageSink
-
- All Known Subinterfaces:
Player
,RegisteredServer
,ServerConnection
public interface ChannelMessageSink
Represents something that can be sent plugin messages.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
sendPluginMessage(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
-
-