Open topic with navigation

TIBCO Rendezvous® 8.8.0

# IDispatchable

Interface

## Visual Basic

    Public Interface IDispatchable

## C#

    public interface IDispatchable

## Purpose

Common interface for queues and queue groups.

## Remarks

Both Queue and QueueGroup 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 IDispatchable; it can call the `dispatch()` method, without needing to determine whether the object is queue or a queue group.

Method | Description | Page
`IDispatchable.dispatch` | Dispatch an event; if no event is ready, block. | IDispatchable.dispatch
`IDispatchable.Poll` | Dispatch an event, if possible. | IDispatchable.Poll
`IDispatchable.TimedDispatch` | Dispatch an event, but if no event is ready to dispatch, limit the time that this call blocks while waiting for an event. | IDispatchable.TimedDispatch

## See Also

Queue

QueueGroup

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.