#include <Method_Request_Updates_T.h>
Inheritance diagram for TAO_Notify_Method_Request_Updates_T< SEQ, PROXY, SEQ_PARAM, PROXY_PARAM >:
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. |
Definition at line 40 of file Method_Request_Updates_T.h.
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 | |||
) |
TAO_Notify_Method_Request_Updates_T< SEQ, PROXY, SEQ_PARAM, PROXY_PARAM >::~TAO_Notify_Method_Request_Updates_T | ( | ) | [virtual] |
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 }
SEQ TAO_Notify_Method_Request_Updates_T< SEQ, PROXY, SEQ_PARAM, PROXY_PARAM >::added_ [protected] |
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().
SEQ TAO_Notify_Method_Request_Updates_T< SEQ, PROXY, SEQ_PARAM, PROXY_PARAM >::removed_ [protected] |