Open topic with navigation

TIBCO Rendezvous® 8.7.0

# TibrvDispatchable

Class

## Declaration

    class TibrvDispatchable

## Purpose

Common interface for queues and queue groups.

## Remarks

Programs never instantiate this class.

Both TibrvQueue and TibrvQueueGroup implement this interface, so programs can call the common methods on objects of either class. For example, consider a dispatcher routine that receives an object of type TibrvDispatchable; it can call the `dispatch()` method, without needing to determine whether the object is queue or a queue group.

Method | Description
Life Cycle
`TibrvDispatchable::destroy()` | Destroy a queue or queue group.
`TibrvDispatchable::getDispatchable()` | Extract the C handle of a queue or queue group.
`TibrvDispatchable::isValid()` | Test validity of a queue or queue group.
Dispatch
`TibrvDispatchable::dispatch()` | Dispatch an event; if no event is ready, block.
`TibrvDispatchable::poll()` | Dispatch an event, if possible.
`TibrvDispatchable::timedDispatch()` | Dispatch an event, but if no event is ready to dispatch, limit the time that this call blocks while waiting for an event.

## Descendants

TibrvQueue

TibrvQueueGroup

## See Also

TibrvQueue

TibrvQueueGroup

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-2023. Cloud Software Group, Inc. All Rights Reserved.