public final class PluginMessageListenerRegistration
extends java.lang.Object
Plugin
s registration to a plugin
channel.Constructor | Description |
---|---|
PluginMessageListenerRegistration(Messenger messenger,
Plugin plugin,
java.lang.String channel,
PluginMessageListener listener) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object obj) |
|
java.lang.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.
|
public PluginMessageListenerRegistration(Messenger messenger, Plugin plugin, java.lang.String channel, PluginMessageListener listener)
public java.lang.String getChannel()
public PluginMessageListener getListener()
public Plugin getPlugin()
public boolean isValid()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2018. All rights reserved.