Package com.slack.api.socket_mode.queue
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
add(String message)
Adds a new message from the Socket Mode server.String
poll()
Pops a message and removes it from the queue.
-