summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjai <jai@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-02-01 17:25:38 +0000
committerjai <jai@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-02-01 17:25:38 +0000
commitbea4de4a8ee9f4fababbcedbd3aef50171ea09e9 (patch)
tree8c18d84a9257347e36d5a95a0775e0495d1924e2
parent9b9e6adc01218e032c1ab29b99f295d6cebd4c0b (diff)
downloadATCD-bea4de4a8ee9f4fababbcedbd3aef50171ea09e9.tar.gz
adding DS library
-rw-r--r--modules/TAO/tao/PortableServer/POA_Cached_Policies.cpp27
1 files changed, 27 insertions, 0 deletions
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
@@ -87,6 +87,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
);