Open topic with navigation

TIBCO Rendezvous® 8.8.0

# TibrvQueueGroup

Class

## Declaration

    class TibrvQueueGroup : public TibrvDispatchable
        TibrvQueueGroup();             // Create empty.
        virtual ~TibrvQueueGroup();    // Destroy and reclaim storage.

## 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.

The constructor creates a hollow object; TibrvQueueGroup::create() makes it operational.

The destructor calls the `destroy` method, unless the C object is already destroyed.

Method | Description
Life Cycle
TibrvQueueGroup::create() | Create an event queue group.
TibrvQueueGroup::destroy() | Destroy an event queue group.
TibrvQueueGroup::getHandle() | Extract the C handle of this queue group.
TibrvQueueGroup::isValid() | Test validity of a queue group.
Dispatch
TibrvQueueGroup::dispatch() | Dispatch an event from a queue group; if no event is ready, block.
TibrvQueueGroup::poll() | Dispatch an event, but if no event is ready to dispatch, return immediately (without blocking).
TibrvQueueGroup::timedDispatch() | Dispatch an event, but if no event is ready to dispatch, limit the time that this call blocks while waiting for an event.
Queues
TibrvQueueGroup::add() | Add an event queue to a queue group.
TibrvQueueGroup::remove() | Remove an event queue from a queue group.

Inherited Methods
`TibrvDispatchable::getDispatchable()` TibrvDispatchable::destroy() TibrvDispatchable::dispatch() TibrvDispatchable::isValid() TibrvDispatchable::poll() TibrvDispatchable::timedDispatch()

## Related Classes

TibrvDispatchable

TibrvQueue

Subtopics

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Rendezvous®

Copyright © 1997-2025. Cloud Software Group, Inc. All Rights Reserved.