summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/bukkit/plugin/messaging/PluginMessageRecipient.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/bukkit/plugin/messaging/PluginMessageRecipient.java')
-rw-r--r--src/main/java/org/bukkit/plugin/messaging/PluginMessageRecipient.java20
1 files changed, 13 insertions, 7 deletions
diff --git a/src/main/java/org/bukkit/plugin/messaging/PluginMessageRecipient.java b/src/main/java/org/bukkit/plugin/messaging/PluginMessageRecipient.java
index 6383166b..e5c59165 100644
--- a/src/main/java/org/bukkit/plugin/messaging/PluginMessageRecipient.java
+++ b/src/main/java/org/bukkit/plugin/messaging/PluginMessageRecipient.java
@@ -8,23 +8,29 @@ import org.bukkit.plugin.Plugin;
*/
public interface PluginMessageRecipient {
/**
- * Sends this recipient a Plugin Message on the specified outgoing channel.
+ * Sends this recipient a Plugin Message on the specified outgoing
+ * channel.
* <p>
- * The message may not be larger than {@link Messenger#MAX_MESSAGE_SIZE} bytes, and the plugin must be registered to send
- * messages on the specified channel.
+ * The message may not be larger than {@link Messenger#MAX_MESSAGE_SIZE}
+ * bytes, and the plugin must be registered to send messages on the
+ * specified channel.
*
* @param source The plugin that sent this message.
* @param channel The channel to send this message on.
* @param message The raw message to send.
- * @throws IllegalArgumentException Thrown if the source plugin is disabled.
- * @throws IllegalArgumentException Thrown if source, channel or message is null.
+ * @throws IllegalArgumentException Thrown if the source plugin is
+ * disabled.
+ * @throws IllegalArgumentException Thrown if source, channel or message
+ * is null.
* @throws MessageTooLargeException Thrown if the message is too big.
- * @throws ChannelNotRegisteredException Thrown if the channel is not registered for this plugin.
+ * @throws ChannelNotRegisteredException Thrown if the channel is not
+ * registered for this plugin.
*/
public void sendPluginMessage(Plugin source, String channel, byte[] message);
/**
- * Gets a set containing all the Plugin Channels that this client is listening on.
+ * Gets a set containing all the Plugin Channels that this client is
+ * listening on.
*
* @return Set containing all the channels that this client may accept.
*/