TAO_PortableServer  2.0.8
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
TAO::Portable_Server::Cached_Policies Class Reference

#include <POA_Cached_Policies.h>

List of all members.

Public Types

enum  PriorityModel { CLIENT_PROPAGATED, SERVER_DECLARED, NOT_SPECIFIED }
enum  NetworkPriorityModel { CLIENT_PROPAGATED_NETWORK_PRIORITY, SERVER_DECLARED_NETWORK_PRIORITY, NO_NETWORK_PRIORITY }

Public Member Functions

 Cached_Policies ()
 ~Cached_Policies (void)
void update (TAO_POA_Policy_Set &policy_set)
 Update the cached policy values.
Accessor methods to cached values.
::PortableServer::ThreadPolicyValue thread (void) const
::PortableServer::LifespanPolicyValue lifespan (void) const
::PortableServer::IdUniquenessPolicyValue id_uniqueness (void) const
::PortableServer::IdAssignmentPolicyValue id_assignment (void) const
::PortableServer::ImplicitActivationPolicyValue implicit_activation (void) const
::PortableServer::ServantRetentionPolicyValue servant_retention (void) const
::PortableServer::RequestProcessingPolicyValue request_processing (void) const
PriorityModel priority_model (void) const
CORBA::Short server_priority (void) const
NetworkPriorityModel network_priority_model (void) const
CORBA::Long request_diffserv_codepoint (void) const
CORBA::Long reply_diffserv_codepoint (void) const
void network_priority_model (NetworkPriorityModel network_priority_model)
void request_diffserv_codepoint (CORBA::Long diffserv_codepoint)
void reply_diffserv_codepoint (CORBA::Long diffserv_codepoint)
void priority_model (PriorityModel priority_model)
void server_priority (CORBA::Short priority)
void implicit_activation (::PortableServer::ImplicitActivationPolicyValue value)

Protected Member Functions

void update_policy (const CORBA::Policy_ptr policy)
 Helper method to update a particular policy.

Protected Attributes

::PortableServer::ThreadPolicyValue thread_
::PortableServer::LifespanPolicyValue lifespan_
::PortableServer::IdUniquenessPolicyValue id_uniqueness_
::PortableServer::IdAssignmentPolicyValue id_assignment_
::PortableServer::ImplicitActivationPolicyValue implicit_activation_
::PortableServer::ServantRetentionPolicyValue servant_retention_
::PortableServer::RequestProcessingPolicyValue request_processing_
PriorityModel priority_model_
CORBA::Short server_priority_
NetworkPriorityModel network_priority_model_
CORBA::Long request_diffserv_codepoint_
CORBA::Long reply_diffserv_codepoint_

Member Enumeration Documentation

Enumerator:
CLIENT_PROPAGATED_NETWORK_PRIORITY 
SERVER_DECLARED_NETWORK_PRIORITY 
NO_NETWORK_PRIORITY 
Enumerator:
CLIENT_PROPAGATED 
SERVER_DECLARED 
NOT_SPECIFIED 

Constructor & Destructor Documentation

TAO::Portable_Server::Cached_Policies::Cached_Policies ( )
TAO::Portable_Server::Cached_Policies::~Cached_Policies ( void  )

Member Function Documentation

PortableServer::IdAssignmentPolicyValue TAO::Portable_Server::Cached_Policies::id_assignment ( void  ) const

Returns the network priority model that was set using a policy by the server application.

PortableServer::IdUniquenessPolicyValue TAO::Portable_Server::Cached_Policies::id_uniqueness ( void  ) const

Returns the network priority model that was set using a policy by the server application.

PortableServer::ImplicitActivationPolicyValue TAO::Portable_Server::Cached_Policies::implicit_activation ( void  ) const

Returns the network priority model that was set using a policy by the server application.

void TAO::Portable_Server::Cached_Policies::implicit_activation ( ::PortableServer::ImplicitActivationPolicyValue  value)

Returns the network priority model that was set using a policy by the server application.

PortableServer::LifespanPolicyValue TAO::Portable_Server::Cached_Policies::lifespan ( void  ) const

Returns the network priority model that was set using a policy by the server application.

Cached_Policies::NetworkPriorityModel TAO::Portable_Server::Cached_Policies::network_priority_model ( void  ) const

Returns the network priority model that was set using a policy by the server application.

void TAO::Portable_Server::Cached_Policies::network_priority_model ( NetworkPriorityModel  network_priority_model)

Caches the network priority model that was set using a policy by the server application.

Cached_Policies::PriorityModel TAO::Portable_Server::Cached_Policies::priority_model ( void  ) const

Returns the network priority model that was set using a policy by the server application.

void TAO::Portable_Server::Cached_Policies::priority_model ( PriorityModel  priority_model)

Returns the network priority model that was set using a policy by the server application.

CORBA::Long TAO::Portable_Server::Cached_Policies::reply_diffserv_codepoint ( void  ) const

Returns the reply DiffServ codepoint that was set using a policy by the server application.

void TAO::Portable_Server::Cached_Policies::reply_diffserv_codepoint ( CORBA::Long  diffserv_codepoint)

Caches the reply DiffServ codepoint that was set using a policy by the server application.

CORBA::Long TAO::Portable_Server::Cached_Policies::request_diffserv_codepoint ( void  ) const

Returns the request DiffServ codepoint that was set using a policy by the server application.

void TAO::Portable_Server::Cached_Policies::request_diffserv_codepoint ( CORBA::Long  diffserv_codepoint)

Caches the request DiffServ codepoint that was set using a policy by the server application.

PortableServer::RequestProcessingPolicyValue TAO::Portable_Server::Cached_Policies::request_processing ( void  ) const

Returns the network priority model that was set using a policy by the server application.

PortableServer::ServantRetentionPolicyValue TAO::Portable_Server::Cached_Policies::servant_retention ( void  ) const

Returns the network priority model that was set using a policy by the server application.

CORBA::Short TAO::Portable_Server::Cached_Policies::server_priority ( void  ) const

Returns the network priority model that was set using a policy by the server application.

void TAO::Portable_Server::Cached_Policies::server_priority ( CORBA::Short  priority)

Returns the network priority model that was set using a policy by the server application.

PortableServer::ThreadPolicyValue TAO::Portable_Server::Cached_Policies::thread ( void  ) const

Returns the network priority model that was set using a policy by the server application.

void TAO::Portable_Server::Cached_Policies::update ( TAO_POA_Policy_Set policy_set)

Update the cached policy values.

void TAO::Portable_Server::Cached_Policies::update_policy ( const CORBA::Policy_ptr  policy) [protected]

Helper method to update a particular policy.


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines