Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / Invocation_Base.inl
blobb60e6fc44d15c90e27d5756dacd976b50654c533
1 // -*- C++ -*-
2 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
4 namespace TAO
6   ACE_INLINE TAO_Stub *
7   Invocation_Base::stub () const
8   {
9     return this->stub_;
10   }
12   ACE_INLINE void
13   Invocation_Base::forwarded_reference (CORBA::Object_ptr o)
14   {
15     this->forwarded_to_ = CORBA::Object::_duplicate (o);
16     this->reply_status_ = GIOP::LOCATION_FORWARD;
17   }
19   ACE_INLINE CORBA::Object_ptr
20   Invocation_Base::forwarded_reference ()
21   {
22     return CORBA::Object::_duplicate (this->forwarded_to_.in ());
23   }
25   ACE_INLINE CORBA::Object_ptr
26   Invocation_Base::steal_forwarded_reference ()
27   {
28     this->reply_status_ = GIOP::NO_EXCEPTION;
29     return this->forwarded_to_._retn ();
30   }
32   ACE_INLINE CORBA::Boolean
33   Invocation_Base::response_expected () const
34   {
35     return this->response_expected_;
36   }
38   ACE_INLINE GIOP::ReplyStatusType
39   Invocation_Base::reply_status () const
40   {
41     return this->reply_status_;
42   }
44   ACE_INLINE void
45   Invocation_Base::reply_status (GIOP::ReplyStatusType s)
46   {
47     this->reply_status_ = s;
48   }
50   ACE_INLINE CORBA::Object_ptr
51   Invocation_Base::target () const
52   {
53     return this->otarget_;
54   }
56   ACE_INLINE CORBA::Object_ptr
57   Invocation_Base::effective_target () const
58   {
59     return this->target_;
60   }
62   ACE_INLINE TAO_Operation_Details &
63   Invocation_Base::operation_details ()
64   {
65     return this->details_;
66   }
68 #if TAO_HAS_INTERCEPTORS == 1
69   ACE_INLINE size_t &
70   Invocation_Base::stack_size  ()
71   {
72     return this->stack_size_;
73   }
75   ACE_INLINE CORBA::Exception *
76   Invocation_Base::caught_exception ()
77   {
78     return this->caught_exception_;
79   }
81   ACE_INLINE TAO::Invocation_Status
82   Invocation_Base::invoke_status () const
83   {
84     return this->invoke_status_;
85   }
87   ACE_INLINE void
88   Invocation_Base::invoke_status (Invocation_Status s)
89   {
90     this->invoke_status_ = s;
91   }
93   ACE_INLINE bool
94   Invocation_Base::is_remote_request () const
95   {
96     return this->is_remote_request_;
97   }
98 #endif /* TAO_HAS_INTERCEPTORS */
101 TAO_END_VERSIONED_NAMESPACE_DECL