summaryrefslogtreecommitdiff
path: root/TAO/tao/Stub.i
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-18 01:37:51 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-18 01:37:51 +0000
commit24a7b562d6a20f4d584282e60a503c85d72a8cd9 (patch)
tree191e75329bb67b96f23557c3784aaeeb54ac5e86 /TAO/tao/Stub.i
parent22e44d10af1ed3bdc37fa092272a7fb1627599bf (diff)
downloadATCD-24a7b562d6a20f4d584282e60a503c85d72a8cd9.tar.gz
ChangeLogTag:Thu Jun 17 19:38:57 1999 Irfan Pyarali <irfan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Stub.i')
-rw-r--r--TAO/tao/Stub.i13
1 files changed, 10 insertions, 3 deletions
diff --git a/TAO/tao/Stub.i b/TAO/tao/Stub.i
index 191cefcc7a0..f7cc43103d0 100644
--- a/TAO/tao/Stub.i
+++ b/TAO/tao/Stub.i
@@ -254,17 +254,24 @@ TAO_Stub::orb_core (void) const
return this->orb_core_;
}
+ACE_INLINE CORBA::ORB_var &
+TAO_Stub::servant_orb_var (void)
+{
+ // Simply pass back the ORB pointer for temporary use.
+ return this->servant_orb_;
+}
+
ACE_INLINE CORBA::ORB_ptr
-TAO_Stub::servant_orb (void)
+TAO_Stub::servant_orb_ptr (void)
{
// Simply pass back the ORB pointer for temporary use.
- return this->servant_orb_.ptr ();
+ return CORBA::ORB::_duplicate (this->servant_orb_.in ());
}
ACE_INLINE void
TAO_Stub::servant_orb (CORBA::ORB_ptr orb)
{
- this->servant_orb_ = orb;
+ this->servant_orb_ = CORBA::ORB::_duplicate (orb);
}
// Creator methods for TAO_Stub_Auto_Ptr (TAO_Stub Auto Pointer)