00001 // -*- C++ -*- 00002 // 00003 // $Id: Synch_Invocation.inl 69153 2005-11-02 11:03:27Z ossama $ 00004 00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00006 00007 namespace TAO 00008 { 00009 ACE_INLINE 00010 Reply_Guard::Reply_Guard (Invocation_Base *b, 00011 Invocation_Status s) 00012 : invocation_ (b) 00013 , status_ (s) 00014 { 00015 } 00016 00017 ACE_INLINE 00018 Reply_Guard::~Reply_Guard (void) 00019 { 00020 this->invocation_->reply_received (this->status_); 00021 } 00022 00023 ACE_INLINE void 00024 Reply_Guard::set_status (Invocation_Status s) 00025 { 00026 this->status_ = s; 00027 } 00028 } 00029 00030 TAO_END_VERSIONED_NAMESPACE_DECL