summaryrefslogtreecommitdiff
path: root/TAO/tao/Synch_Invocation.inl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Synch_Invocation.inl')
-rw-r--r--TAO/tao/Synch_Invocation.inl30
1 files changed, 30 insertions, 0 deletions
diff --git a/TAO/tao/Synch_Invocation.inl b/TAO/tao/Synch_Invocation.inl
new file mode 100644
index 00000000000..649d3245412
--- /dev/null
+++ b/TAO/tao/Synch_Invocation.inl
@@ -0,0 +1,30 @@
+// -*- 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)
+ {
+ this->invocation_->reply_received (this->status_);
+ }
+
+ ACE_INLINE void
+ Reply_Guard::set_status (Invocation_Status s)
+ {
+ this->status_ = s;
+ }
+}
+
+TAO_END_VERSIONED_NAMESPACE_DECL