00001 // -*- C++ -*- 00002 // 00003 // $Id: Invocation_Base.inl 69968 2005-12-22 14:54:51Z elliott_c $ 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 } 00026 00027 ACE_INLINE CORBA::Object_ptr 00028 Invocation_Base::forwarded_reference (void) 00029 { 00030 return CORBA::Object::_duplicate (this->forwarded_to_.in ()); 00031 } 00032 00033 ACE_INLINE CORBA::Object_ptr 00034 Invocation_Base::steal_forwarded_reference (void) 00035 { 00036 return this->forwarded_to_._retn (); 00037 } 00038 00039 ACE_INLINE bool 00040 Invocation_Base::is_forwarded (void) const 00041 { 00042 return (this->forwarded_to_.in () != 0); 00043 } 00044 00045 ACE_INLINE CORBA::Boolean 00046 Invocation_Base::response_expected (void) const 00047 { 00048 return this->response_expected_; 00049 } 00050 00051 ACE_INLINE CORBA::Object_ptr 00052 Invocation_Base::target (void) const 00053 { 00054 return this->otarget_; 00055 } 00056 00057 ACE_INLINE CORBA::Object_ptr 00058 Invocation_Base::effective_target (void) const 00059 { 00060 return this->target_; 00061 } 00062 00063 ACE_INLINE TAO_Operation_Details & 00064 Invocation_Base::operation_details (void) 00065 { 00066 return this->details_; 00067 } 00068 00069 #if TAO_HAS_INTERCEPTORS == 1 00070 ACE_INLINE size_t & 00071 Invocation_Base::stack_size (void) 00072 { 00073 return this->stack_size_; 00074 } 00075 00076 ACE_INLINE CORBA::Exception * 00077 Invocation_Base::caught_exception (void) 00078 { 00079 return this->caught_exception_; 00080 } 00081 00082 ACE_INLINE TAO::Invocation_Status 00083 Invocation_Base::invoke_status (void) const 00084 { 00085 return this->invoke_status_; 00086 } 00087 00088 ACE_INLINE bool 00089 Invocation_Base::is_remote_request (void) const 00090 { 00091 return this->is_remote_request_; 00092 } 00093 #endif /* TAO_HAS_INTERCEPTORS */ 00094 } 00095 00096 TAO_END_VERSIONED_NAMESPACE_DECL