TAO_Notify_Method_Request_Updates_T< SEQ, PROXY, SEQ_PARAM, PROXY_PARAM > Class Template Reference

#include <Method_Request_Updates_T.h>

Inheritance diagram for TAO_Notify_Method_Request_Updates_T< SEQ, PROXY, SEQ_PARAM, PROXY_PARAM >:

Inheritance graph
[legend]
Collaboration diagram for TAO_Notify_Method_Request_Updates_T< SEQ, PROXY, SEQ_PARAM, PROXY_PARAM >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAO_Notify_Method_Request_Updates_T (SEQ_PARAM added, SEQ_PARAM removed, PROXY_PARAM proxy)
 Constructor.
virtual ~TAO_Notify_Method_Request_Updates_T ()
 Destructor.
int execute_i (void)
 Execute the Request.

Protected Attributes

SEQ added_
 Update Added.
SEQ removed_
 Update Removed.
PROXY proxy_
 The Proxy that will receive the updates.

Detailed Description

template<class SEQ, class PROXY, class SEQ_PARAM, class PROXY_PARAM>
class TAO_Notify_Method_Request_Updates_T< SEQ, PROXY, SEQ_PARAM, PROXY_PARAM >

Definition at line 40 of file Method_Request_Updates_T.h.


Constructor & Destructor Documentation

template<class SEQ, class PROXY, class SEQ_PARAM, class PROXY_PARAM>
TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_Notify_Method_Request_Updates_T< SEQ, PROXY, SEQ_PARAM, PROXY_PARAM >::TAO_Notify_Method_Request_Updates_T ( SEQ_PARAM  added,
SEQ_PARAM  removed,
PROXY_PARAM  proxy 
)

Constructor.

Definition at line 15 of file Method_Request_Updates_T.cpp.

00017   : added_ (added), removed_ (removed), proxy_ (proxy)
00018 {
00019 }

template<class SEQ, class PROXY, class SEQ_PARAM, class PROXY_PARAM>
TAO_Notify_Method_Request_Updates_T< SEQ, PROXY, SEQ_PARAM, PROXY_PARAM >::~TAO_Notify_Method_Request_Updates_T (  )  [virtual]

Destructor.

Definition at line 22 of file Method_Request_Updates_T.cpp.

00023 {
00024 }


Member Function Documentation

template<class SEQ, class PROXY, class SEQ_PARAM, class PROXY_PARAM>
TAO_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE int TAO_Notify_Method_Request_Updates_T< SEQ, PROXY, SEQ_PARAM, PROXY_PARAM >::execute_i ( void   ) 

Execute the Request.

Definition at line 11 of file Method_Request_Updates_T.inl.

References CORBA::Exception::_tao_print_exception(), TAO_Notify_Peer::dispatch_updates(), TAO_Notify_Method_Request_Updates_T< SEQ, PROXY, SEQ_PARAM, PROXY_PARAM >::proxy_, and TAO_debug_level.

Referenced by TAO_Notify_Method_Request_Updates_No_Copy::execute().

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 }


Member Data Documentation

template<class SEQ, class PROXY, class SEQ_PARAM, class PROXY_PARAM>
SEQ TAO_Notify_Method_Request_Updates_T< SEQ, PROXY, SEQ_PARAM, PROXY_PARAM >::added_ [protected]

Update Added.

Definition at line 56 of file Method_Request_Updates_T.h.

template<class SEQ, class PROXY, class SEQ_PARAM, class PROXY_PARAM>
PROXY TAO_Notify_Method_Request_Updates_T< SEQ, PROXY, SEQ_PARAM, PROXY_PARAM >::proxy_ [protected]

The Proxy that will receive the updates.

Definition at line 62 of file Method_Request_Updates_T.h.

Referenced by TAO_Notify_Method_Request_Updates_T< SEQ, PROXY, SEQ_PARAM, PROXY_PARAM >::execute_i().

template<class SEQ, class PROXY, class SEQ_PARAM, class PROXY_PARAM>
SEQ TAO_Notify_Method_Request_Updates_T< SEQ, PROXY, SEQ_PARAM, PROXY_PARAM >::removed_ [protected]

Update Removed.

Definition at line 59 of file Method_Request_Updates_T.h.


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:46:23 2010 for TAO_CosNotification by  doxygen 1.4.7