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