Reactor_Notification_Strategy.cpp

Go to the documentation of this file.
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 /* __ACE_INLINE __ */
00007 
00008 ACE_RCSID(ace, Reactor_Notification_Strategy, "$Id: Reactor_Notification_Strategy.cpp 80826 2008-03-04 14:51:23Z wotte $")
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

Generated on Tue Feb 2 17:18:42 2010 for ACE by  doxygen 1.4.7