summaryrefslogtreecommitdiff
path: root/ace/WFMO_Reactor.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/WFMO_Reactor.h')
-rw-r--r--ace/WFMO_Reactor.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/ace/WFMO_Reactor.h b/ace/WFMO_Reactor.h
index e8c81546c09..374858e28cf 100644
--- a/ace/WFMO_Reactor.h
+++ b/ace/WFMO_Reactor.h
@@ -403,6 +403,12 @@ public:
ACE_Reactor_Mask to_be_removed_masks);
/**
+ * Return the Event_Handler associated with <handle>. Return 0 if
+ * <handle> is not registered.
+ */
+ ACE_Event_Handler *find_handler (ACE_HANDLE handle);
+
+ /**
* Check to see if <handle> is associated with a valid Event_Handler
* bound to <mask>. Return the <event_handler> associated with this
* <handler> if <event_handler> != 0.
@@ -411,6 +417,13 @@ public:
ACE_Reactor_Mask mask,
ACE_Event_Handler **event_handler = 0);
+ /**
+ * Check to see if <handle> is associated with a valid
+ * Event_Handler. Return Event_Handler and associated masks.
+ */
+ ACE_Event_Handler *handler (ACE_HANDLE handle,
+ long &existing_masks);
+
/// Dump the state of an object.
void dump (void) const;
@@ -1057,6 +1070,12 @@ public:
// = Assorted helper methods.
/**
+ * Return the Event_Handler associated with <handle>. Return 0 if
+ * <handle> is not registered.
+ */
+ ACE_Event_Handler *find_handler (ACE_HANDLE handle);
+
+ /**
* Check to see if <handle> is associated with a valid Event_Handler
* bound to <mask>. Return the <event_handler> associated with this
* <handler> if <event_handler> != 0.