Interface EventsBus

    • Method Detail

      • pushEvent

        void pushEvent​(NodeEvent event,
                       String topic)
        Add a new event to the event bus
        Parameters:
        event -
        topic -
      • addListener

        void addListener​(AppStorageListener l)
        Add a listener to the EventsBus.
      • removeListener

        void removeListener​(AppStorageListener l)
        remove a listener from the EventsBus.
      • removeListeners

        void removeListeners()
        Remove all listeners from the EventsBus.
      • flush

        void flush()
        Flush any changes to underlying EventsBus.