Interface EventsDispatcher

  • All Known Implementing Classes:
    EventsDispatcherImpl

    public interface EventsDispatcher
    Events API requests dispatcher.
    • Method Detail

      • isRunning

        boolean isRunning()
      • isEmpty

        boolean isEmpty()
      • dispatch

        void dispatch​(String json)
        Dispatches requests to appropriate event handlers.
      • enqueue

        void enqueue​(String json)
        Enqueues a JSON payload to the internal queue.
      • start

        void start()
        Starts the internal thread to handle requests.
      • stop

        void stop()
        Stops the internal thread to handle requests.