Supplier.cpp

Go to the documentation of this file.
00001 // Supplier.cpp,v 1.8 2006/03/14 06:14:34 jtc Exp
00002 
00003 #include "orbsvcs/Notify/Supplier.h"
00004 
00005 #if ! defined (__ACE_INLINE__)
00006 #include "orbsvcs/Notify/Supplier.inl"
00007 #endif /* __ACE_INLINE__ */
00008 
00009 ACE_RCSID(Notify, TAO_Notify_Supplier, "Supplier.cpp,v 1.8 2006/03/14 06:14:34 jtc Exp")
00010 
00011 #include "orbsvcs/Notify/ProxyConsumer.h"
00012 #include "orbsvcs/Notify/Proxy.h"
00013 
00014 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00015 
00016 TAO_Notify_Supplier::TAO_Notify_Supplier (TAO_Notify_ProxyConsumer* proxy)
00017   : proxy_ (proxy)
00018 {
00019 }
00020 
00021 TAO_Notify_Supplier::~TAO_Notify_Supplier ()
00022 {
00023 }
00024 
00025 TAO_Notify_Proxy*
00026 TAO_Notify_Supplier::proxy (void)
00027 {
00028   return this->proxy_consumer ();
00029 }
00030 
00031 void
00032 TAO_Notify_Supplier::dispatch_updates_i (
00033   const CosNotification::EventTypeSeq& added,
00034   const CosNotification::EventTypeSeq& removed
00035   ACE_ENV_ARG_DECL)
00036 {
00037   if (!CORBA::is_nil (this->subscribe_.in ()))
00038     this->subscribe_->subscription_change (added, removed ACE_ENV_ARG_PARAMETER);
00039 }
00040 
00041 TAO_END_VERSIONED_NAMESPACE_DECL

Generated on Thu Nov 9 13:24:17 2006 for TAO_CosNotification by doxygen 1.3.6