diff options
author | yamuna <yamuna@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-06-27 01:54:36 +0000 |
---|---|---|
committer | yamuna <yamuna@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-06-27 01:54:36 +0000 |
commit | 542eaa8e1d29a2a95512ce18bad883827ddc59cb (patch) | |
tree | fb5bee198359c9a343545ff07671ec51261fc8bc | |
parent | a62aa7c6cd5d0e75b60e8115f54ecc21d3e4d9cb (diff) | |
download | ATCD-542eaa8e1d29a2a95512ce18bad883827ddc59cb.tar.gz |
ChangelogTag: Wed June 26 2:09:00 2002 Yamuna Krishnamurthy <yamuna@oomworks.com>
-rw-r--r-- | TAO/tao/RTPortableServer/RT_POA.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/TAO/tao/RTPortableServer/RT_POA.cpp b/TAO/tao/RTPortableServer/RT_POA.cpp index bb73f5a0c6e..a5d99278519 100644 --- a/TAO/tao/RTPortableServer/RT_POA.cpp +++ b/TAO/tao/RTPortableServer/RT_POA.cpp @@ -906,6 +906,22 @@ TAO_RT_POA::id (ACE_ENV_SINGLE_ARG_DECL) return this->TAO_POA::id (ACE_ENV_SINGLE_ARG_PARAMETER); } +CORBA::Policy * +TAO_RT_POA::server_protocol (void) +{ + CORBA::Policy *result = + this->policies ().get_cached_policy (TAO_CACHED_POLICY_RT_SERVER_PROTOCOL); + + if (result == 0) + { + TAO_Policy_Manager *policy_manager = + this->orb_core_.policy_manager (); + if (policy_manager != 0) + result = policy_manager->get_cached_policy (TAO_CACHED_POLICY_RT_SERVER_PROTOCOL); + } + return result; +} + #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) |