diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1996-12-02 05:12:34 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1996-12-02 05:12:34 +0000 |
commit | 1e4a98505bbd038bd4057a8baa4dd75dc97e8124 (patch) | |
tree | 6f1e734ce679b92ebc5e54e8c1d53184d0a399a5 /ace/Strategies.cpp | |
parent | d3355fd45d2b9c5a982a6bf0f64885188afd24d1 (diff) | |
download | ATCD-1e4a98505bbd038bd4057a8baa4dd75dc97e8124.tar.gz |
barfoo
Diffstat (limited to 'ace/Strategies.cpp')
-rw-r--r-- | ace/Strategies.cpp | 33 |
1 files changed, 30 insertions, 3 deletions
diff --git a/ace/Strategies.cpp b/ace/Strategies.cpp index 197d6cbeb74..abb433e8715 100644 --- a/ace/Strategies.cpp +++ b/ace/Strategies.cpp @@ -9,6 +9,19 @@ #include "ace/ReactorEx.h" #include "ace/Strategies.h" +int +ACE_Notification_Strategy::notify (void) +{ + return 0; +} + +int +ACE_Notification_Strategy::notify (ACE_Event_Handler *, + ACE_Reactor_Mask) +{ + return 0; +} + ACE_Reactor_Notification_Strategy::ACE_Reactor_Notification_Strategy (ACE_Reactor *reactor, ACE_Event_Handler *eh, ACE_Reactor_Mask mask) @@ -21,12 +34,19 @@ ACE_Reactor_Notification_Strategy::ACE_Reactor_Notification_Strategy (ACE_Reacto 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); } -ACE_ReactorEx_Notification_Strategy::ACE_Reactor_Notification_Strategy (ACE_ReactorEx *reactorex, - ACE_Event_Handler *eh, - ACE_Reactor_Mask mask) +ACE_ReactorEx_Notification_Strategy::ACE_ReactorEx_Notification_Strategy (ACE_ReactorEx *reactorex, + ACE_Event_Handler *eh, + ACE_Reactor_Mask mask) : reactorex_ (reactorex), eh_ (eh), mask_ (mask) @@ -36,6 +56,13 @@ ACE_ReactorEx_Notification_Strategy::ACE_Reactor_Notification_Strategy (ACE_Reac int ACE_ReactorEx_Notification_Strategy::notify (void) { + return this->reactorex_->notify (this->eh_, this->mask_); +} + +int +ACE_ReactorEx_Notification_Strategy::notify (ACE_Event_Handler *eh, + ACE_Reactor_Mask mask) +{ return this->reactorex_->notify (eh, mask); } |