00001 #include "ace/Reactor_Notification_Strategy.h"
00002 #include "ace/Reactor.h"
00003
00004 #if !defined (__ACE_INLINE__)
00005 #include "ace/Reactor_Notification_Strategy.inl"
00006 #endif
00007
00008 ACE_RCSID(ace, Reactor_Notification_Strategy, "Reactor_Notification_Strategy.cpp,v 4.3 2005/10/28 16:14:55 ossama Exp")
00009
00010 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00011
00012 ACE_Reactor_Notification_Strategy::ACE_Reactor_Notification_Strategy (
00013 ACE_Reactor *reactor,
00014 ACE_Event_Handler *eh,
00015 ACE_Reactor_Mask mask)
00016 : ACE_Notification_Strategy (eh, mask),
00017 reactor_ (reactor)
00018 {
00019 }
00020
00021 ACE_Reactor_Notification_Strategy::~ACE_Reactor_Notification_Strategy (void)
00022 {
00023 }
00024
00025 int
00026 ACE_Reactor_Notification_Strategy::notify (void)
00027 {
00028 return this->reactor_->notify (this->eh_, this->mask_);
00029 }
00030
00031 int
00032 ACE_Reactor_Notification_Strategy::notify (ACE_Event_Handler *eh,
00033 ACE_Reactor_Mask mask)
00034 {
00035 return this->reactor_->notify (eh, mask);
00036 }
00037
00038 ACE_END_VERSIONED_NAMESPACE_DECL