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)
 Constuctor.

virtual ~TAO_Notify_Method_Request_Updates_T ()
 Destructor.

int execute_i ()
 Execute the Request.


Protected Attributes

SEQ added_
 Update Added.

SEQ removed_
 Update Removed.

PROXY proxy_
 The Proxy that will receive the updates.

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


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
 

Constuctor.

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  ) 
 

Execute the Request.

Definition at line 11 of file Method_Request_Updates_T.inl.

References ACE_ANY_EXCEPTION, ACE_CATCHANY, ACE_ENDTRY, ACE_ENV_ARG_PARAMETER, ACE_PRINT_EXCEPTION, ACE_TRY, ACE_TRY_CHECK, TAO_Notify_Peer::dispatch_updates(), 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   ACE_TRY
00017     {
00018       TAO_Notify_Peer* peer = this->proxy_->peer();
00019 
00020       if (peer != 0)
00021         {
00022           peer->dispatch_updates (this->added_, this->removed_ ACE_ENV_ARG_PARAMETER);
00023           ACE_TRY_CHECK;
00024         }
00025     }
00026   ACE_CATCHANY
00027     {
00028       if (TAO_debug_level > 0)
00029         ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "TAO_Notify_Method_Request_Updates::execute error sending updates\n ");
00030     }
00031   ACE_ENDTRY;
00032 
00033   return 0;
00034 }


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.

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 Thu Nov 9 13:32:28 2006 for TAO_CosNotification by doxygen 1.3.6