TibrvDispatcher
Class
Declaration
classTibrvDispatcher
TibrvDispatcher(); // Create empty.
virtual ~TibrvDispatcher(); // Halt, destroy & reclaim storage.
Purpose
Dispatch events from a queue or queue group.
Remarks
A dispatcher thread repeatedly dispatches a queue or queue group by calling TibrvDispatchable::timedDispatch() in a loop.
The constructor produces a hollow object; TibrvDispatcher::create() fills in the C handle, which makes the dispatcher thread operational.
The destructor calls the destroy
method, unless the C handle is already destroyed.
This class is a programming convenience. Programs can implement specialized dispatcher threads, and use them instead of this class.
Method |
Description |
Extract the queue or queue group that this thread dispatches. |
|
See Also
TibrvDispatchable::timedDispatch()
DISPATCHER.THREAD_EXITED on page 242 in
tibrvDispatcher in