Interface IEventMultiTopicProducer


public interface IEventMultiTopicProducer

Common interface for all event producers that can produce events on multiple topic channels.

Since:
Mar 19, 2015
  • Method Details

    • registerListener

      boolean registerListener(String topic, IEventListener listener)
      Registers a listener with the given topic. The listener is reponsible for filtering received events.
      Parameters:
      topic - topic identifier
      listener -
      Returns:
      true if topic is supported by dispatcher
    • unregisterListener

      void unregisterListener(String topic, IEventListener listener)
      Unregisters a listener from this event producer. No more event will be sent to the listener from this producer.
      Parameters:
      topic - topic identifier
      listener -