#include <Network_Priority_Hook.h>
Inheritance diagram for TAO_Network_Priority_Hook:
Public Member Functions | |
virtual | ~TAO_Network_Priority_Hook (void) |
virtual void | update_network_priority (TAO_Root_POA &poa, TAO_POA_Policy_Set &poa_policy_set) |
virtual void | set_dscp_codepoint (TAO_ServerRequest &req, TAO_Root_POA &poa) |
Static Public Member Functions | |
static int | initialize (void) |
Static initializer ensures the factory is loaded. |
Definition at line 40 of file Network_Priority_Hook.h.
TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_Network_Priority_Hook::~TAO_Network_Priority_Hook | ( | void | ) | [virtual] |
int TAO_Network_Priority_Hook::initialize | ( | void | ) | [static] |
Static initializer ensures the factory is loaded.
Definition at line 34 of file Network_Priority_Hook.cpp.
References ACE_Service_Config::process_directive().
00035 { 00036 return ACE_Service_Config::process_directive 00037 (ace_svc_desc_TAO_Network_Priority_Hook); 00038 }
void TAO_Network_Priority_Hook::set_dscp_codepoint | ( | TAO_ServerRequest & | req, | |
TAO_Root_POA & | poa | |||
) | [virtual] |
void TAO_Network_Priority_Hook::update_network_priority | ( | TAO_Root_POA & | poa, | |
TAO_POA_Policy_Set & | poa_policy_set | |||
) | [virtual] |
Definition at line 18 of file Network_Priority_Hook.cpp.
References TAO_Root_POA::cached_policies(), TAO::Portable_Server::Cached_Policies::network_priority_model(), TAO::Portable_Server::Cached_Policies::NO_NETWORK_PRIORITY, TAO::Portable_Server::Cached_Policies::reply_diffserv_codepoint(), and TAO::Portable_Server::Cached_Policies::request_diffserv_codepoint().
Referenced by TAO_Root_POA::TAO_Root_POA().
00020 { 00021 poa.cached_policies ().network_priority_model 00022 (TAO::Portable_Server::Cached_Policies::NO_NETWORK_PRIORITY); 00023 poa.cached_policies ().reply_diffserv_codepoint (0); 00024 poa.cached_policies ().request_diffserv_codepoint (0); 00025 }