Open topic with navigation

TIBCO Rendezvous® 8.7.0

# Dispatcher

Class

## Superclasses

    System.Object
      Dispatcher

## Visual Basic

    Public Class Dispatcher

## C#

    public class Dispatcher

## Purpose

Dispatch events from a queue or queue group.

## Remarks

Each instance of this class represents a thread that loops indefinitely, repeatedly dispatching a queue or queue group.

This class is a programming convenience. Programs can implement specialized dispatcher threads, and use them instead of this class.

Destroying a dispatcher stops it from dispatching its queue or queue group. The method Dispatcher.Destroy destroys a dispatcher explicitly and immediately. You can also destroy a dispatcher implicitly by deleting all references to it, but the garbage collector might introduce a delay before it destroys the object.

Method | Description | Page
Dispatcher | Create a dispatcher thread. | Dispatcher
Dispatcher.Destroy | Destroy a dispatcher thread. | Dispatcher.Destroy
Dispatcher.Join | Wait for a dispatcher thread to finish. | Dispatcher.Join
Dispatcher.Pause | Pause a dispatcher thread (so it does not dispatch events). | Dispatcher.Pause
Dispatcher.Resume | Resume a dispatcher thread (after pause). | Dispatcher.Resume

Member | Description |
## Public Instance Properties
``Dispatchable`` | `IDispatchable` The dispatcher dispatches this queue or queue group. | Get

## See Also

Queue.Dispatch

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.