Method_Request_Updates_T.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // $Id: Method_Request_Updates_T.inl 76589 2007-01-25 18:04:11Z elliott_c $
00004 
00005 #include "tao/debug.h"
00006 #include "orbsvcs/Notify/Peer.h"
00007 
00008 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00009 
00010 template <class SEQ, class PROXY, class SEQ_PARAM, class PROXY_PARAM> ACE_INLINE int
00011 TAO_Notify_Method_Request_Updates_T<SEQ, PROXY, SEQ_PARAM, PROXY_PARAM>::execute_i (void)
00012 {
00013   if (this->proxy_->has_shutdown ())
00014     return 0; // If we were shutdown while waiting in the queue, return with no action.
00015 
00016   try
00017     {
00018       TAO_Notify_Peer* peer = this->proxy_->peer();
00019 
00020       if (peer != 0)
00021         {
00022           peer->dispatch_updates (this->added_, this->removed_);
00023         }
00024     }
00025   catch (const CORBA::Exception& ex)
00026     {
00027       if (TAO_debug_level > 0)
00028         ex._tao_print_exception (
00029           "TAO_Notify_Method_Request_Updates::execute error sending updates\n ");
00030     }
00031 
00032   return 0;
00033 }
00034 
00035 TAO_END_VERSIONED_NAMESPACE_DECL

Generated on Tue Feb 2 17:45:29 2010 for TAO_CosNotification by  doxygen 1.4.7