From cdb6fd66611283a0314ab23e08472d11dae4f0e4 Mon Sep 17 00:00:00 2001 From: bala Date: Tue, 28 Oct 2003 18:31:01 +0000 Subject: ChangeLogTag:Tue Oct 28 12:02:47 2003 Balachandran Natarajan --- TAO/tao/Invocation_Base.inl | 70 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 TAO/tao/Invocation_Base.inl (limited to 'TAO/tao/Invocation_Base.inl') diff --git a/TAO/tao/Invocation_Base.inl b/TAO/tao/Invocation_Base.inl new file mode 100644 index 00000000000..d94053f3c18 --- /dev/null +++ b/TAO/tao/Invocation_Base.inl @@ -0,0 +1,70 @@ +// -*- C++ -*- +// $Id$ +namespace TAO +{ + ACE_INLINE TAO_ORB_Core * + Invocation_Base::orb_core (void) const + { + return this->orb_core_; + } + + 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); + } + + 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) + { + return this->forwarded_to_._retn (); + } + + ACE_INLINE void + Invocation_Base::reply_received (Invocation_Status s) + { +#if TAO_HAS_INTERCEPTORS == 1 + this->req_info_.reply_status (s); +#endif /*TAO_HAS_INTERCEPTORS*/ + ACE_UNUSED_ARG (s); + } + + ACE_INLINE bool + Invocation_Base::is_forwarded (void) const + { + return (this->forwarded_to_.in () != 0); + } + + ACE_INLINE CORBA::Boolean + Invocation_Base::response_expected (void) const + { + return this->response_expected_; + } + + 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_; + } + + + +} -- cgit v1.2.1