A static class in Root.Township, Alta.Networking.Internal.
Tracks all queued connection receivers so code can tell when every queued message has been handled.
Fields
1 private and internal field
Properties
| Member | What it is |
|---|
static bool IsThereQueuedMessages { get; } | True if any tracked receiver still has queued messages. |
Events
| Member | What it is |
|---|
static event Action FinishedAllQueues | Raised when a receiver finishes its queue and no tracked receiver has messages left. |
Methods
| Member | What it is |
|---|
static void Deregister(QueuedConnectionReceiver receiver) | Stops tracking a receiver and checks if all queues are now empty. |
static void Register(QueuedConnectionReceiver receiver) | Starts tracking a receiver and listens for its queue finishing. |
1 private and internal method
| Member | What it is |
|---|
private static void ReceiverFinished() | Raises FinishedAllQueues if no receiver has a queue left. |