00001 #include "ace_pch.h"
00002 #include "ace/Reactor_Notification_Strategy.h"
00003 #include "ace/Reactor.h"
00004
00005 #if !defined (__ACE_INLINE__)
00006 #include "ace/Reactor_Notification_Strategy.inl"
00007 #endif
00008
00009 ACE_RCSID(ace, Reactor_Notification_Strategy, "$Id: Reactor_Notification_Strategy.cpp,v 1.1.1.1.2.1 2003/03/13 19:44:22 chad Exp $")
00010
00011 ACE_Reactor_Notification_Strategy::ACE_Reactor_Notification_Strategy (ACE_Reactor *reactor,
00012 ACE_Event_Handler *eh,
00013 ACE_Reactor_Mask mask)
00014 : ACE_Notification_Strategy (eh, mask),
00015 reactor_ (reactor)
00016 {
00017 }
00018
00019 ACE_Reactor_Notification_Strategy::~ACE_Reactor_Notification_Strategy (void)
00020 {
00021 }
00022
00023 int
00024 ACE_Reactor_Notification_Strategy::notify (void)
00025 {
00026 return this->reactor_->notify (this->eh_, this->mask_);
00027 }
00028
00029 int
00030 ACE_Reactor_Notification_Strategy::notify (ACE_Event_Handler *eh,
00031 ACE_Reactor_Mask mask)
00032 {
00033 return this->reactor_->notify (eh, mask);
00034 }