RFA .NET
A group of EventQueues.

Namespace: ThomsonReuters.RFA.Common
Assembly: RFA8_NET110_x64 (in RFA8_NET110_x64.dll) Version: 8.0.1.1

Syntax

C#
public sealed class EventQueueGroup : Dispatchable
Visual Basic
Public NotInheritable Class EventQueueGroup _
	Inherits Dispatchable
Visual C++
public ref class EventQueueGroup sealed : public Dispatchable
F#
[<SealedAttribute>]
type EventQueueGroup =  
    class
        inherit Dispatchable
    end

Remarks

An EventQueueGroup is a Dispatchable that holds a group of EventQueues. The application dispatches event from the EventQueueGroup thus dispatching an Event from an EventQueue within that group. The appropriate Client callback function will be called in the thread context that performed the Dispatch() call.

EventQueue are added to the group via the AddEventQueue() method.

There are two dispatch algorithms are available for event queue groups, ABACAB and HIGH_TO_LOW. The ABACAB algorithm will dispatch from queues from every prirority available in the queue group with a preference to higher priorities. The HIGH_TO_LOW algorithm will dispatch from all high priority event queues available within the group before dispatching lower priority queues. The default algorithm is ABACAB.

To obtain the EventQueueGroup interface an application should call the Create() static method on the EventQueueGroup. This method takes one parameter, the EventQueueGroup name, and returns a handle to an EventQueueGroup object. EventQueueGroup sharing via the interface is not supported. Therefore, if EventQueueGroups are created with the same name, there will be two instances of the EventQueueGroup with that name.

When the application is done with the EventQueueGroup it must call the Destroy() method. This informs the interface that the application no longer needs the EventQueueGroup. Once an application called the Destroy() method, it should never use a reference or a handle to that EventQueueGroup again.

Inheritance Hierarchy

System..::..Object
  ThomsonReuters.RFA.Common..::..Dispatchable
    ThomsonReuters.RFA.Common..::..EventQueueGroup

See Also