TAO::Reply_Guard Class Reference

A guard class used for storing and forwarding the reply status to the portable interceptors. More...

#include <Synch_Invocation.h>

Collaboration diagram for TAO::Reply_Guard:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Reply_Guard (Invocation_Base *s, Invocation_Status is)
 ~Reply_Guard (void)
void set_status (Invocation_Status s)
 Mutator to set the invocation status.


Private Member Functions

 Reply_Guard (Reply_Guard const &)
Reply_Guardoperator= (Reply_Guard const &)

Private Attributes

Invocation_Base *const  invocation_
Invocation_Status status_

Detailed Description

A guard class used for storing and forwarding the reply status to the portable interceptors.

Definition at line 181 of file Synch_Invocation.h.


Constructor & Destructor Documentation

ACE_INLINE TAO::Reply_Guard::Reply_Guard Invocation_Base s,
Invocation_Status  is
 

Definition at line 10 of file Synch_Invocation.inl.

00012     : invocation_ (b)
00013     , status_ (s)
00014   {
00015   }

ACE_INLINE TAO::Reply_Guard::~Reply_Guard void   ) 
 

The destructor calls Invocation_Base::reply_received with the right reply status, which is useful for PI's.

Definition at line 18 of file Synch_Invocation.inl.

References invocation_, and TAO::Invocation_Base::reply_received().

00019   {
00020     this->invocation_->reply_received (this->status_);
00021   }

TAO::Reply_Guard::Reply_Guard Reply_Guard const &   )  [private]
 


Member Function Documentation

Reply_Guard& TAO::Reply_Guard::operator= Reply_Guard const &   )  [private]
 

ACE_INLINE void TAO::Reply_Guard::set_status Invocation_Status  s  ) 
 

Mutator to set the invocation status.

Definition at line 24 of file Synch_Invocation.inl.

Referenced by TAO::Synch_Twoway_Invocation::check_reply_status(), TAO::Synch_Twoway_Invocation::handle_system_exception(), TAO::Synch_Twoway_Invocation::handle_user_exception(), and TAO::Synch_Twoway_Invocation::location_forward().

00025   {
00026     this->status_ = s;
00027   }


Member Data Documentation

Invocation_Base* const TAO::Reply_Guard::invocation_ [private]
 

Definition at line 202 of file Synch_Invocation.h.

Referenced by ~Reply_Guard().

Invocation_Status TAO::Reply_Guard::status_ [private]
 

Definition at line 203 of file Synch_Invocation.h.


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 12:27:06 2006 for TAO by doxygen 1.3.6