QueueGroup

Class

Superclasses

System.Object
  QueueGroup

Visual Basic

Public Class QueueGroup
  Implements IDispatchable

C#

public class QueueGroup : IDispatchable

Purpose

Prioritized dispatch of several queues with one call.

Remarks

Queue groups add flexibility and fine-grained control to the event queue dispatch mechanism. Programs can create groups of queues and dispatch them according to their queue priorities.

Programs must explicitly destroy instances of this class. Rendezvous software keeps internal references to these objects, so the garbage collector does not delete them automatically.

Method

Description

Page

Life Cycle

QueueGroup

Create an event queue group.

QueueGroup

QueueGroup.Destroy

Destroy an event queue group.

QueueGroup.Destroy

Dispatch

QueueGroup.Dispatch

Dispatch an event from a queue group; if no event is ready, block.

QueueGroup.Dispatch

QueueGroup.Poll

Dispatch an event, but if no event is ready to dispatch, return immediately (without blocking).

QueueGroup.Poll

QueueGroup.TimedDispatch

Dispatch an event, but if no event is ready to dispatch, limit the time that this call blocks while waiting for an event.

QueueGroup.TimedDispatch

Queues

QueueGroup.Add

Add an event queue to a queue group.

QueueGroup.Add

QueueGroup.Remove

Remove an event queue from a queue group.

QueueGroup.Remove