summaryrefslogtreecommitdiff
path: root/ACE/TAO/tao/Invocation_Base.inl
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/TAO/tao/Invocation_Base.inl')
-rw-r--r--ACE/TAO/tao/Invocation_Base.inl104
1 files changed, 104 insertions, 0 deletions
diff --git a/ACE/TAO/tao/Invocation_Base.inl b/ACE/TAO/tao/Invocation_Base.inl
new file mode 100644
index 00000000000..6a7e65ae3f7
--- /dev/null
+++ b/ACE/TAO/tao/Invocation_Base.inl
@@ -0,0 +1,104 @@
+// -*- C++ -*-
+//
+// $Id$
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
+namespace TAO
+{
+ ACE_INLINE TAO_Stub *
+ Invocation_Base::stub (void) const
+ {
+ return this->stub_;
+ }
+
+ ACE_INLINE void
+ Invocation_Base::forwarded_reference (CORBA::Object_ptr o)
+ {
+ this->forwarded_to_ = CORBA::Object::_duplicate (o);
+ this->reply_status_ = GIOP::LOCATION_FORWARD;
+ }
+
+ ACE_INLINE CORBA::Object_ptr
+ Invocation_Base::forwarded_reference (void)
+ {
+ return CORBA::Object::_duplicate (this->forwarded_to_.in ());
+ }
+
+ ACE_INLINE CORBA::Object_ptr
+ Invocation_Base::steal_forwarded_reference (void)
+ {
+ this->reply_status_ = GIOP::NO_EXCEPTION;
+ return this->forwarded_to_._retn ();
+ }
+
+ ACE_INLINE CORBA::Boolean
+ Invocation_Base::response_expected (void) const
+ {
+ return this->response_expected_;
+ }
+
+ ACE_INLINE GIOP::ReplyStatusType
+ Invocation_Base::reply_status (void) const
+ {
+ return this->reply_status_;
+ }
+
+ ACE_INLINE void
+ Invocation_Base::reply_status (GIOP::ReplyStatusType s)
+ {
+ this->reply_status_ = s;
+ }
+
+ ACE_INLINE CORBA::Object_ptr
+ Invocation_Base::target (void) const
+ {
+ return this->otarget_;
+ }
+
+ ACE_INLINE CORBA::Object_ptr
+ Invocation_Base::effective_target (void) const
+ {
+ return this->target_;
+ }
+
+ ACE_INLINE TAO_Operation_Details &
+ Invocation_Base::operation_details (void)
+ {
+ return this->details_;
+ }
+
+#if TAO_HAS_INTERCEPTORS == 1
+ ACE_INLINE size_t &
+ Invocation_Base::stack_size (void)
+ {
+ return this->stack_size_;
+ }
+
+ ACE_INLINE CORBA::Exception *
+ Invocation_Base::caught_exception (void)
+ {
+ return this->caught_exception_;
+ }
+
+ ACE_INLINE TAO::Invocation_Status
+ Invocation_Base::invoke_status (void) const
+ {
+ return this->invoke_status_;
+ }
+
+ ACE_INLINE void
+ Invocation_Base::invoke_status (Invocation_Status s)
+ {
+ this->invoke_status_ = s;
+ }
+
+ ACE_INLINE bool
+ Invocation_Base::is_remote_request (void) const
+ {
+ return this->is_remote_request_;
+ }
+#endif /* TAO_HAS_INTERCEPTORS */
+}
+
+TAO_END_VERSIONED_NAMESPACE_DECL