summaryrefslogtreecommitdiff
path: root/ace/Reactor_Impl.h
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-21 10:06:28 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-21 10:06:28 +0000
commit96c3e9ef1bffabc52d3848c43790dacd8e65497e (patch)
tree62003d1cf6be5d3e18bead66bb1e7e6fcb292c4e /ace/Reactor_Impl.h
parent6d1c286aa59a8665c741c89b3b8760327763238e (diff)
downloadATCD-96c3e9ef1bffabc52d3848c43790dacd8e65497e.tar.gz
ChangeLogTag:Wed Jul 21 04:32:20 1999 Nanbor Wang <nanbor@cs.wustl.edu>
Diffstat (limited to 'ace/Reactor_Impl.h')
-rw-r--r--ace/Reactor_Impl.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/ace/Reactor_Impl.h b/ace/Reactor_Impl.h
index 85c3033534c..7eb92659812 100644
--- a/ace/Reactor_Impl.h
+++ b/ace/Reactor_Impl.h
@@ -155,6 +155,18 @@ public:
// return when the system queues an I/O completion routine or an
// Asynchronous Procedure Call.
+ // = Event handling control.
+
+ virtual int deactivated (void) = 0;
+ // Return the status of Reactor. If this function returns 0, the reactor is
+ // actively handling events. If it returns non-zero, <handling_events> and
+ // <handle_alertable_events> return -1 immediately.
+
+ virtual void deactivate (int do_stop) = 0;
+ // Control whether the Reactor will handle any more incoming events or not.
+ // If <do_stop> == 1, the Reactor will be disabled. By default, a reactor
+ // is in active state and can be deactivated/reactived as wish.
+
// = Register and remove Handlers.
virtual int register_handler (ACE_Event_Handler *event_handler,