Interface ChannelRegistrar


public interface ChannelRegistrar
Represents an interface to register and unregister ChannelIdentifiers for the proxy to listen on.
  • Method Summary

    Modifier and Type
    Method
    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.
  • Method Details

    • register

      void register(ChannelIdentifier... identifiers)
      Registers the specified message identifiers to listen on so you can intercept plugin messages on the channel using PluginMessageEvent.
      Parameters:
      identifiers - the channel identifiers to register
    • unregister

      void unregister(ChannelIdentifier... identifiers)
      Removes the intent to listen for the specified channel.
      Parameters:
      identifiers - the identifiers to unregister