diff options
Diffstat (limited to 'ace/Strategies.cpp')
-rw-r--r-- | ace/Strategies.cpp | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/ace/Strategies.cpp b/ace/Strategies.cpp deleted file mode 100644 index 0943d560b2c..00000000000 --- a/ace/Strategies.cpp +++ /dev/null @@ -1,65 +0,0 @@ -// Strategies.cpp -// $Id$ - -#if !defined (ACE_STRATEGIES_C) -#define ACE_STRATEGIES_C - -#define ACE_BUILD_DLL -#include "ace/Reactor.h" -#include "ace/ReactorEx.h" -#include "ace/Strategies.h" - -ACE_Notification_Strategy::ACE_Notification_Strategy (ACE_Event_Handler *eh, - ACE_Reactor_Mask mask) - : eh_ (eh), - mask_ (mask) -{ -} - -ACE_Notification_Strategy::~ACE_Notification_Strategy (void) -{ -} - -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) -{ -} - -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_ReactorEx_Notification_Strategy (ACE_ReactorEx *reactorex, - ACE_Event_Handler *eh, - ACE_Reactor_Mask mask) - : ACE_Notification_Strategy (eh, mask), - reactorex_ (reactorex) -{ -} - -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); -} - -#endif /* ACE_STRATEGIES_C */ |