diff options
author | bala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-10-28 18:31:01 +0000 |
---|---|---|
committer | bala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-10-28 18:31:01 +0000 |
commit | cdb6fd66611283a0314ab23e08472d11dae4f0e4 (patch) | |
tree | fd6ae8c3db752254802dfaafd1543974a4741e47 /TAO/tao/Invocation_Base.inl | |
parent | f984aa2bff444f381570d2f97ac9ba958926fb6b (diff) | |
download | ATCD-cdb6fd66611283a0314ab23e08472d11dae4f0e4.tar.gz |
ChangeLogTag:Tue Oct 28 12:02:47 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/Invocation_Base.inl')
-rw-r--r-- | TAO/tao/Invocation_Base.inl | 70 |
1 files changed, 70 insertions, 0 deletions
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_; + } + + + +} |