diff options
Diffstat (limited to 'ACE/TAO/tao/Synch_Invocation.inl')
-rw-r--r-- | ACE/TAO/tao/Synch_Invocation.inl | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/ACE/TAO/tao/Synch_Invocation.inl b/ACE/TAO/tao/Synch_Invocation.inl new file mode 100644 index 00000000000..3b819af8672 --- /dev/null +++ b/ACE/TAO/tao/Synch_Invocation.inl @@ -0,0 +1,32 @@ +// -*- C++ -*- +// +// $Id$ + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +namespace TAO +{ + ACE_INLINE + Reply_Guard::Reply_Guard (Invocation_Base *b, + Invocation_Status s) + : invocation_ (b) + , status_ (s) + { + } + + ACE_INLINE + Reply_Guard::~Reply_Guard (void) + { +#if TAO_HAS_INTERCEPTORS == 1 + this->invocation_->invoke_status (this->status_); +#endif /* TAO_HAS_INTERCEPTORS == 1 */ + } + + ACE_INLINE void + Reply_Guard::set_status (Invocation_Status s) + { + this->status_ = s; + } +} + +TAO_END_VERSIONED_NAMESPACE_DECL |