MessageQueueSupervisor class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
messageQueueByChannelId
↔ Map<
String, MessageQueue> -
getter/setter pair
Static Methods
-
distributeMessages(
List< WaitingMessage> messages) → void - Adds messages back to their respective channel queues
-
getQueueForChannelId(
String channelId) → MessageQueue - Gets the message queue assigned to a channel id. Will create a new empty message queue if none exists and assign it to the channel id.
-
yieldAll(
) → List< WaitingMessage> - Get a list of all waiting messages from all message queues and empty the queues.