summaryrefslogtreecommitdiff
path: root/ace/Reactor_Notification_Strategy.cpp
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2001-12-10 21:48:59 +0000
committerbala <balanatarajan@users.noreply.github.com>2001-12-10 21:48:59 +0000
commitf01d9f24020077a7851ba3b9e379907a0fa32347 (patch)
tree4f00fe99639595a8bf15b1f637b532caa8bed86a /ace/Reactor_Notification_Strategy.cpp
parente75c6cfa29c521009305159a3148794369d4d975 (diff)
downloadATCD-f01d9f24020077a7851ba3b9e379907a0fa32347.tar.gz
ChangeLogTag: Mon Dec 10 15:39:22 2001 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'ace/Reactor_Notification_Strategy.cpp')
-rw-r--r--ace/Reactor_Notification_Strategy.cpp33
1 files changed, 33 insertions, 0 deletions
diff --git a/ace/Reactor_Notification_Strategy.cpp b/ace/Reactor_Notification_Strategy.cpp
new file mode 100644
index 00000000000..67d713ed349
--- /dev/null
+++ b/ace/Reactor_Notification_Strategy.cpp
@@ -0,0 +1,33 @@
+#include "ace/Reactor_Notification_Strategy.h"
+#include "ace/Reactor.h"
+
+#if !defined (__ACE_INLINE__)
+#include "ace/Reactor_Notification_Strategy.inl"
+#endif /* __ACE_INLINE __ */
+
+ACE_RCSID(ace, Strategies, "$Id$")
+
+ACE_Reactor_Notification_Strategy::ACE_Reactor_Notification_Strategy (ACE_Reactor *reactor,
+ ACE_Event_Handler *eh,
+ ACE_Reactor_Mask mask)
+ : ACE_Notification_Strategy (eh, mask),
+ reactor_ (reactor)
+{
+}
+
+ACE_Reactor_Notification_Strategy::~ACE_Reactor_Notification_Strategy (void)
+{
+}
+
+int
+ACE_Reactor_Notification_Strategy::notify (void)
+{
+ return this->reactor_->notify (this->eh_, this->mask_);
+}
+
+int
+ACE_Reactor_Notification_Strategy::notify (ACE_Event_Handler *eh,
+ ACE_Reactor_Mask mask)
+{
+ return this->reactor_->notify (eh, mask);
+}