From bea4de4a8ee9f4fababbcedbd3aef50171ea09e9 Mon Sep 17 00:00:00 2001 From: jai Date: Thu, 1 Feb 2007 17:25:38 +0000 Subject: adding DS library --- .../TAO/tao/PortableServer/POA_Cached_Policies.cpp | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/modules/TAO/tao/PortableServer/POA_Cached_Policies.cpp b/modules/TAO/tao/PortableServer/POA_Cached_Policies.cpp index 561ddb683bb..687352df393 100644 --- a/modules/TAO/tao/PortableServer/POA_Cached_Policies.cpp +++ b/modules/TAO/tao/PortableServer/POA_Cached_Policies.cpp @@ -86,6 +86,33 @@ namespace TAO } #endif + #if !defined (CORBA_E_MICRO) + ::TAO::NetworkPriorityPolicy_var npp + = ::TAO::NetworkPriorityPolicy::_narrow (policy); + + if (!CORBA::is_nil (npp.in ())) + { + TAO::NetworkPriorityModel network_priority_model = + npp->network_priority_model (); + + this->network_priority_model_ = + TAO::Portable_Server::Cached_Policies::NetworkPriorityModel ( + network_priority_model); + + TAO::DiffservCodepoint request_diffserv_codepoint = + npp->request_diffserv_codepoint (); + + TAO::DiffservCodepoint reply_diffserv_codepoint = + npp->reply_diffserv_codepoint (); + + this->request_diffserv_codepoint_ = request_diffserv_codepoint; + this->reply_diffserv_codepoint_ = reply_diffserv_codepoint; + + return; + } + + #endif + #if !defined (CORBA_E_MICRO) ::PortableServer::IdUniquenessPolicy_var id_uniqueness = ::PortableServer::IdUniquenessPolicy::_narrow (policy -- cgit v1.2.1