#include <Cancelable.h>
Inheritance diagram for ZThread::Cancelable::

Public Methods | |
| virtual | ~Cancelable () throw () |
| virtual void | cancel ()=0 throw (Synchronization_Exception) |
| virtual bool | isCanceled ()=0 throw (Synchronization_Exception) |
For instance, canceling a Queue will cause it accept no new items. It can return all items that were added before it was canceled but it definitely empty at some point.
|
|
Destroy this Cancelable object |
|
|
Indicate that target item should stop accepting new input and shutdown at some point Reimplemented in ZThread::AbstractExecutor, ZThread::BlockingQueue, ZThread::BufferedQueue, ZThread::Executor, ZThread::LockedQueue, ZThread::MonitoredQueue, ZThread::Queue, ZThread::SimpleQueue, ZThread::SyncExecutor, and ZThread::TimerThread. |
|
|
Check the cancelation status of this Queue
Reimplemented in ZThread::AbstractExecutor, ZThread::BlockingQueue, ZThread::BufferedQueue, ZThread::LockedQueue, ZThread::MonitoredQueue, ZThread::SimpleQueue, ZThread::SyncExecutor, and ZThread::TimerThread. |
1.2.8 written by Dimitri van Heesch,
© 1997-2001