Public Member Functions | Protected Attributes

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]

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_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.

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

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.

{
}


Member Function Documentation

template<class SEQ , class PROXY , class SEQ_PARAM , class PROXY_PARAM >
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.

{
  if (this->proxy_->has_shutdown ())
    return 0; // If we were shutdown while waiting in the queue, return with no action.

  try
    {
      TAO_Notify_Peer* peer = this->proxy_->peer();

      if (peer != 0)
        {
          peer->dispatch_updates (this->added_, this->removed_);
        }
    }
  catch (const CORBA::Exception& ex)
    {
      if (TAO_debug_level > 0)
        ex._tao_print_exception (
          "TAO_Notify_Method_Request_Updates::execute error sending updates\n");
    }

  return 0;
}


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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines