diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-15 21:17:12 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-15 21:17:12 +0000 |
commit | bfb8ef41adfd261558997599fbda5a5e832889e5 (patch) | |
tree | 4f7c616712fc80084b1c55a3b2c7043a638e9aa4 /TAO/tao/ORB_Core.i | |
parent | e6e9b695addf17f7ad422bf536e2ca53c2a143bc (diff) | |
download | ATCD-bfb8ef41adfd261558997599fbda5a5e832889e5.tar.gz |
Added method to turn on/off collocation at run time.
Diffstat (limited to 'TAO/tao/ORB_Core.i')
-rw-r--r-- | TAO/tao/ORB_Core.i | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/TAO/tao/ORB_Core.i b/TAO/tao/ORB_Core.i index 9e477af3819..6be596472e4 100644 --- a/TAO/tao/ORB_Core.i +++ b/TAO/tao/ORB_Core.i @@ -119,6 +119,14 @@ TAO_ORB_Core::using_collocation (void) return this->opt_for_collocation_; } +ACE_INLINE CORBA::Boolean +TAO_ORB_Core::using_collocation (CORBA::Boolean use_col) +{ + CORBA::Boolean retv = this->opt_for_collocation_; + this->opt_for_collocation_ = use_col; + return retv; +} + // Template specializations that allow the cached connection manager // to work better. |