|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bukkit.plugin.messaging.PluginMessageListenerRegistration
public final class PluginMessageListenerRegistration
Contains information about a Plugins registration to a plugin channel.
| Constructor Summary | |
|---|---|
PluginMessageListenerRegistration(Messenger messenger,
Plugin plugin,
String channel,
PluginMessageListener listener)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getChannel()
Gets the plugin channel that this registration is about. |
PluginMessageListener |
getListener()
Gets the registered listener described by this registration. |
Plugin |
getPlugin()
Gets the plugin that this registration is for. |
int |
hashCode()
|
boolean |
isValid()
Checks if this registration is still valid. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PluginMessageListenerRegistration(Messenger messenger,
Plugin plugin,
String channel,
PluginMessageListener listener)
| Method Detail |
|---|
public String getChannel()
public PluginMessageListener getListener()
public Plugin getPlugin()
public boolean isValid()
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||