Interface SocketModeMessageQueue

  • All Known Implementing Classes:
    ConcurrentLinkedMessageQueue

    public interface SocketModeMessageQueue
    Abstraction of a message queue that provides a way to handle multiple messages at the same time in SocketModeClient.
    • Method Detail

      • add

        void add​(String message)
        Adds a new message from the Socket Mode server.
        Parameters:
        message - the raw message from the Socket Mode server
      • poll

        String poll()
        Pops a message and removes it from the queue.
        Returns:
        a raw message from the Socket Mode server