public interface ChannelRegistrar
ChannelIdentifier
s for the proxy to
listen on.Modifier and Type | Method and Description |
---|---|
void |
register(ChannelIdentifier... identifiers)
Registers the specified message identifiers to listen on so you can intercept plugin messages
on the channel using
PluginMessageEvent . |
void |
unregister(ChannelIdentifier... identifiers)
Removes the intent to listen for the specified channel.
|
void register(ChannelIdentifier... identifiers)
PluginMessageEvent
.identifiers
- the channel identifiers to registervoid unregister(ChannelIdentifier... identifiers)
identifiers
- the identifiers to unregister