Interface IPortalMessageBus

All Known Implementing Classes:
PortalMessageBus

public interface IPortalMessageBus
The message bus can be used to send messages between components. The message bus is shared between a parent session and its child sessions
Since:
9.2
Author:
m.mahabiersing
  • Method Details

    • notifyMessage

      void notifyMessage(IPortalMessage message)
      Broadcast a message to all listeners on the message bus
      Parameters:
      message - The message to send, not null.
    • addHandler

      void addHandler(IPortalMessageHandler handler)
      Add a new message handler to the bus, the handler will be able to react to all messages
      Parameters:
      handler - The handler to add, not null.
    • removeHandler

      void removeHandler(IPortalMessageHandler handler)
      Remove a message handler from the bus
      Parameters:
      handler - The handler to remove, not null.