Dispatcher

Constructor

Visual Basic

Overloads Public Sub New(
    ByVal dispatchable As IDispatchable,
    ByVal name As String,
    ByVal timeout As Double )
Overloads Public Sub New(
    ByVal dispatchable As IDispatchable,
    ByVal name As String )
Overloads Public Sub New(
    ByVal dispatchable As IDispatchable,
    ByVal timeout As Double )
Overloads Public Sub New(
    ByVal dispatchable As IDispatchable )

C#

public Dispatcher(
    IDispatchable dispatchable,
    string name,
    double timeout );
public Dispatcher(
    IDispatchable dispatchable,
    string name )
public Dispatcher(
    IDispatchable dispatchable,
    double timeout );
public Dispatcher(
    IDispatchable dispatchable )

Purpose

Create a dispatcher thread.

Remarks

This constructor immediately starts the thread.

Parameter

Description

dispatchable

Create a thread that dispatches this Queue or QueueGroup.

name

Assign this name to the dispatcher thread.

When absent, the thread receives a default name.

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

Dispatcher

DISPATCHER.THREAD_EXITED in TIBCO Rendezvous Concepts