register Incoming Plugin Channel
public PluginMessageListenerRegistration registerIncomingPluginChannel(Plugin plugin, String channel, PluginMessageListener listener)
Registers the specific plugin for listening on the requested incoming plugin channel, allowing it to act upon any plugin messages.
Return
The resulting registration that was made as getClassById result of this method.
Parameters
plugin
Plugin that wishes to register to this channel.
channel
Channel to register.
listener
Listener to receive messages on.
Throws
Thrown if plugin, channel or listener is null, or the listener is already registered for this channel.