00001 // -*- C++ -*- 00002 // 00003 // $Id: POA_Cached_Policies.inl 77177 2007-02-16 17:01:50Z jai $ 00004 00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00006 00007 namespace TAO 00008 { 00009 namespace Portable_Server 00010 { 00011 ACE_INLINE ::PortableServer::ThreadPolicyValue 00012 Cached_Policies::thread (void) const 00013 { 00014 return this->thread_; 00015 } 00016 00017 ACE_INLINE ::PortableServer::LifespanPolicyValue 00018 Cached_Policies::lifespan (void) const 00019 { 00020 return this->lifespan_; 00021 } 00022 00023 ACE_INLINE ::PortableServer::IdUniquenessPolicyValue 00024 Cached_Policies::id_uniqueness (void) const 00025 { 00026 return this->id_uniqueness_; 00027 } 00028 00029 ACE_INLINE ::PortableServer::IdAssignmentPolicyValue 00030 Cached_Policies::id_assignment (void) const 00031 { 00032 return this->id_assignment_; 00033 } 00034 00035 ACE_INLINE ::PortableServer::ImplicitActivationPolicyValue 00036 Cached_Policies::implicit_activation (void) const 00037 { 00038 return this->implicit_activation_; 00039 } 00040 00041 ACE_INLINE ::PortableServer::ServantRetentionPolicyValue 00042 Cached_Policies::servant_retention (void) const 00043 { 00044 return this->servant_retention_; 00045 } 00046 00047 ACE_INLINE ::PortableServer::RequestProcessingPolicyValue 00048 Cached_Policies::request_processing (void) const 00049 { 00050 return this->request_processing_; 00051 } 00052 00053 ACE_INLINE Cached_Policies::PriorityModel 00054 Cached_Policies::priority_model (void) const 00055 { 00056 return this->priority_model_; 00057 } 00058 00059 ACE_INLINE CORBA::Short 00060 Cached_Policies::server_priority (void) const 00061 { 00062 return this->server_priority_; 00063 } 00064 00065 ACE_INLINE void 00066 Cached_Policies::priority_model (PriorityModel priority_model) 00067 { 00068 this->priority_model_ = priority_model; 00069 } 00070 00071 ACE_INLINE void 00072 Cached_Policies::server_priority (CORBA::Short priority) 00073 { 00074 this->server_priority_ = priority; 00075 } 00076 00077 ACE_INLINE Cached_Policies::NetworkPriorityModel 00078 Cached_Policies::network_priority_model (void) const 00079 { 00080 return this->network_priority_model_; 00081 } 00082 00083 ACE_INLINE CORBA::Long 00084 Cached_Policies::request_diffserv_codepoint (void) const 00085 { 00086 return this->request_diffserv_codepoint_; 00087 } 00088 00089 ACE_INLINE CORBA::Long 00090 Cached_Policies::reply_diffserv_codepoint (void) const 00091 { 00092 return this->reply_diffserv_codepoint_; 00093 } 00094 00095 ACE_INLINE void 00096 Cached_Policies::network_priority_model ( 00097 NetworkPriorityModel network_priority_model) 00098 { 00099 this->network_priority_model_ = network_priority_model; 00100 } 00101 00102 ACE_INLINE void 00103 Cached_Policies::request_diffserv_codepoint ( 00104 CORBA::Long diffserv_codepoint) 00105 { 00106 this->request_diffserv_codepoint_ = diffserv_codepoint; 00107 } 00108 00109 ACE_INLINE void 00110 Cached_Policies::reply_diffserv_codepoint (CORBA::Long diffserv_codepoint) 00111 { 00112 this->reply_diffserv_codepoint_ = diffserv_codepoint; 00113 } 00114 00115 ACE_INLINE void 00116 Cached_Policies::implicit_activation (PortableServer::ImplicitActivationPolicyValue value) 00117 { 00118 this->implicit_activation_ = value; 00119 } 00120 } 00121 } 00122 00123 TAO_END_VERSIONED_NAMESPACE_DECL