00001 // -*- C++ -*- 00002 // 00003 // $Id: Invocation_Base.inl 81632 2008-05-07 09:19:05Z vzykov $ 00004 00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00006 00007 namespace TAO 00008 { 00009 ACE_INLINE TAO_ORB_Core * 00010 Invocation_Base::orb_core (void) const 00011 { 00012 return this->orb_core_; 00013 } 00014 00015 ACE_INLINE TAO_Stub * 00016 Invocation_Base::stub (void) const 00017 { 00018 return this->stub_; 00019 } 00020 00021 ACE_INLINE void 00022 Invocation_Base::forwarded_reference (CORBA::Object_ptr o) 00023 { 00024 this->forwarded_to_ = CORBA::Object::_duplicate (o); 00025 this->reply_status_ = GIOP::LOCATION_FORWARD; 00026 } 00027 00028 ACE_INLINE CORBA::Object_ptr 00029 Invocation_Base::forwarded_reference (void) 00030 { 00031 return CORBA::Object::_duplicate (this->forwarded_to_.in ()); 00032 } 00033 00034 ACE_INLINE CORBA::Object_ptr 00035 Invocation_Base::steal_forwarded_reference (void) 00036 { 00037 this->reply_status_ = GIOP::NO_EXCEPTION; 00038 return this->forwarded_to_._retn (); 00039 } 00040 00041 ACE_INLINE CORBA::Boolean 00042 Invocation_Base::response_expected (void) const 00043 { 00044 return this->response_expected_; 00045 } 00046 00047 ACE_INLINE GIOP::ReplyStatusType 00048 Invocation_Base::reply_status (void) const 00049 { 00050 return this->reply_status_; 00051 } 00052 00053 ACE_INLINE void 00054 Invocation_Base::reply_status (GIOP::ReplyStatusType s) 00055 { 00056 this->reply_status_ = s; 00057 } 00058 00059 ACE_INLINE CORBA::Object_ptr 00060 Invocation_Base::target (void) const 00061 { 00062 return this->otarget_; 00063 } 00064 00065 ACE_INLINE CORBA::Object_ptr 00066 Invocation_Base::effective_target (void) const 00067 { 00068 return this->target_; 00069 } 00070 00071 ACE_INLINE TAO_Operation_Details & 00072 Invocation_Base::operation_details (void) 00073 { 00074 return this->details_; 00075 } 00076 00077 #if TAO_HAS_INTERCEPTORS == 1 00078 ACE_INLINE size_t & 00079 Invocation_Base::stack_size (void) 00080 { 00081 return this->stack_size_; 00082 } 00083 00084 ACE_INLINE CORBA::Exception * 00085 Invocation_Base::caught_exception (void) 00086 { 00087 return this->caught_exception_; 00088 } 00089 00090 ACE_INLINE TAO::Invocation_Status 00091 Invocation_Base::invoke_status (void) const 00092 { 00093 return this->invoke_status_; 00094 } 00095 00096 ACE_INLINE void 00097 Invocation_Base::invoke_status (Invocation_Status s) 00098 { 00099 this->invoke_status_ = s; 00100 } 00101 00102 ACE_INLINE bool 00103 Invocation_Base::is_remote_request (void) const 00104 { 00105 return this->is_remote_request_; 00106 } 00107 #endif /* TAO_HAS_INTERCEPTORS */ 00108 } 00109 00110 TAO_END_VERSIONED_NAMESPACE_DECL