Open topic with navigation

TIBCO Rendezvous® 8.7.0

# TibrvDispatcher()

Constructor

## Declaration

    TibrvDispatcher(
       java.lang.ThreadGroup    group,
       java.lang.String         name,
       TibrvDispatchable        dispatchable)
    TibrvDispatcher(
       java.lang.String         name,
       TibrvDispatchable        dispatchable)
    TibrvDispatcher(
       TibrvDispatchable        dispatchable)
    TibrvDispatcher(
       java.lang.ThreadGroup    group,
       java.lang.String         name,
       TibrvDispatchable        dispatchable,
       double                   timeout)
    TibrvDispatcher(
       java.lang.String         name,
       TibrvDispatchable        dispatchable,
       double                   timeout)
    TibrvDispatcher(
       TibrvDispatchable        dispatchable,
       double                   timeout)

## Purpose

Create a dispatcher thread.

## Remarks

This constructor immediately starts the thread.

Parameter | Description
`group` | Create a dispatcher thread in this Java thread group. When absent, use the main thread group.
`name` | Create a dispatcher thread with this name. When absent, use the default thread name.
`dispatchable` | Create a thread that dispatches this TibrvQueue or TibrvQueueGroup.
`timeout` | When this time period (in seconds) elapses without dispatching an event, the thread exits. When absent, the default is to run indefinitely (with no timeout).

## See Also

TibrvDispatcher

DISPATCHER.THREAD_EXITED on page 242 in TIBCO Rendezvous Concepts

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.