Bukkit  1.4.7-R1.0
 All Classes Namespaces Files Functions Variables Enumerator Pages
org.bukkit.plugin.messaging.PluginMessageListener Interface Reference

A listener for a specific Plugin Channel, which will receive notifications of messages sent from a client. More...

Public Member Functions

void onPluginMessageReceived (String channel, Player player, byte[] message)
 A method that will be thrown when a PluginMessageSource sends a plugin message on a registered channel.
 

Detailed Description

A listener for a specific Plugin Channel, which will receive notifications of messages sent from a client.

Definition at line 9 of file PluginMessageListener.java.

Member Function Documentation

void org.bukkit.plugin.messaging.PluginMessageListener.onPluginMessageReceived ( String  channel,
Player  player,
byte[]  message 
)

A method that will be thrown when a PluginMessageSource sends a plugin message on a registered channel.

Parameters
channelChannel that the message was sent through.
playerSource of the message.
messageThe raw message that was sent.

Referenced by org.bukkit.plugin.messaging.StandardMessenger.dispatchIncomingMessage().


The documentation for this interface was generated from the following file: