#include <RT_Policy_i.h>
Inheritance diagram for TAO_PrivateConnectionPolicy:
Public Member Functions | |
TAO_PrivateConnectionPolicy (void) | |
Constructor. | |
TAO_PrivateConnectionPolicy (const TAO_PrivateConnectionPolicy &rhs) | |
Copy constructor. | |
CORBA::PolicyType | policy_type (void) |
CORBA::Policy_ptr | copy (void) |
void | destroy (void) |
TAO_Cached_Policy_Type | _tao_cached_type (void) const |
TAO_Policy_Scope | _tao_scope (void) const |
Static Public Member Functions | |
CORBA::Policy_ptr | create (const CORBA::Any &val) |
Protected Member Functions | |
virtual | ~TAO_PrivateConnectionPolicy (void) |
This policy controls whether the transport connection for the Object is private, i.e., not available for carrying out invocations on other objects.
Definition at line 173 of file RT_Policy_i.h.
|
Constructor.
Definition at line 231 of file RT_Policy_i.cpp.
00232 : ::CORBA::Object () 00233 , ::CORBA::Policy () 00234 , ::CORBA::LocalObject () 00235 , RTCORBA::PrivateConnectionPolicy () 00236 , TAO_Local_RefCounted_Object () 00237 { 00238 } |
|
Copy constructor.
Definition at line 240 of file RT_Policy_i.cpp.
00241 : ::CORBA::Object () 00242 , ::CORBA::Policy () 00243 , ::CORBA::LocalObject () 00244 , RTCORBA::PrivateConnectionPolicy () 00245 , TAO_Local_RefCounted_Object () 00246 { 00247 } |
|
Protected destructor to enforce proper memory management of this reference counted object. Definition at line 249 of file RT_Policy_i.cpp.
00250 { 00251 } |
|
Implements CORBA::Policy. Definition at line 289 of file RT_Policy_i.cpp. References TAO_CACHED_POLICY_RT_PRIVATE_CONNECTION.
00290 { 00291 return TAO_CACHED_POLICY_RT_PRIVATE_CONNECTION; 00292 } |
|
Implements CORBA::Policy. Definition at line 295 of file RT_Policy_i.cpp. References TAO_POLICY_OBJECT_SCOPE, TAO_POLICY_ORB_SCOPE, and TAO_POLICY_THREAD_SCOPE.
00296 { 00297 return static_cast<TAO_Policy_Scope> (TAO_POLICY_OBJECT_SCOPE | 00298 TAO_POLICY_THREAD_SCOPE | 00299 TAO_POLICY_ORB_SCOPE); 00300 } |
|
Implements CORBA::Policy. Definition at line 272 of file RT_Policy_i.cpp. References ACE_NEW_THROW_EX.
00273 { 00274 TAO_PrivateConnectionPolicy* tmp = 0; 00275 ACE_NEW_THROW_EX (tmp, 00276 TAO_PrivateConnectionPolicy (*this), 00277 CORBA::NO_MEMORY (TAO::VMCID, 00278 CORBA::COMPLETED_NO)); 00279 00280 return tmp; 00281 } |
|
Helper method for the implementation of CORBA::ORB::create_policy. Definition at line 254 of file RT_Policy_i.cpp. References ACE_NEW_THROW_EX. Referenced by TAO_RT_PolicyFactory::create_policy().
00255 { 00256 TAO_PrivateConnectionPolicy *tmp = 0; 00257 ACE_NEW_THROW_EX (tmp, 00258 TAO_PrivateConnectionPolicy (), 00259 CORBA::NO_MEMORY (TAO::VMCID, 00260 CORBA::COMPLETED_NO)); 00261 00262 return tmp; 00263 } |
|
Implements CORBA::Policy. Definition at line 284 of file RT_Policy_i.cpp.
00285 { 00286 } |
|
Implements CORBA::Policy. Definition at line 266 of file RT_Policy_i.cpp.
00267 {
00268 return RTCORBA::PRIVATE_CONNECTION_POLICY_TYPE;
00269 }
|