#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 | |
static 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.
TAO_PrivateConnectionPolicy::TAO_PrivateConnectionPolicy | ( | void | ) |
Constructor.
Definition at line 226 of file RT_Policy_i.cpp.
00227 : ::CORBA::Object () 00228 , ::CORBA::Policy () 00229 , RTCORBA::PrivateConnectionPolicy () 00230 , ::CORBA::LocalObject () 00231 { 00232 }
TAO_PrivateConnectionPolicy::TAO_PrivateConnectionPolicy | ( | const TAO_PrivateConnectionPolicy & | rhs | ) |
Copy constructor.
Definition at line 234 of file RT_Policy_i.cpp.
00235 : ::CORBA::Object () 00236 , ::CORBA::Policy () 00237 , RTCORBA::PrivateConnectionPolicy () 00238 , ::CORBA::LocalObject () 00239 { 00240 }
TAO_PrivateConnectionPolicy::~TAO_PrivateConnectionPolicy | ( | void | ) | [protected, virtual] |
Protected destructor to enforce proper memory management of this reference counted object.
Definition at line 242 of file RT_Policy_i.cpp.
TAO_Cached_Policy_Type TAO_PrivateConnectionPolicy::_tao_cached_type | ( | void | ) | const |
Definition at line 282 of file RT_Policy_i.cpp.
References TAO_CACHED_POLICY_RT_PRIVATE_CONNECTION.
00283 { 00284 return TAO_CACHED_POLICY_RT_PRIVATE_CONNECTION; 00285 }
TAO_Policy_Scope TAO_PrivateConnectionPolicy::_tao_scope | ( | void | ) | const |
Definition at line 288 of file RT_Policy_i.cpp.
References TAO_POLICY_OBJECT_SCOPE, TAO_POLICY_ORB_SCOPE, and TAO_POLICY_THREAD_SCOPE.
00289 { 00290 return static_cast<TAO_Policy_Scope> (TAO_POLICY_OBJECT_SCOPE | 00291 TAO_POLICY_THREAD_SCOPE | 00292 TAO_POLICY_ORB_SCOPE); 00293 }
CORBA::Policy_ptr TAO_PrivateConnectionPolicy::copy | ( | void | ) |
Definition at line 265 of file RT_Policy_i.cpp.
References ACE_NEW_THROW_EX, CORBA::COMPLETED_NO, and TAO::VMCID.
00266 { 00267 TAO_PrivateConnectionPolicy* tmp = 0; 00268 ACE_NEW_THROW_EX (tmp, 00269 TAO_PrivateConnectionPolicy (*this), 00270 CORBA::NO_MEMORY (TAO::VMCID, 00271 CORBA::COMPLETED_NO)); 00272 00273 return tmp; 00274 }
CORBA::Policy_ptr TAO_PrivateConnectionPolicy::create | ( | const CORBA::Any & | val | ) | [static] |
Helper method for the implementation of CORBA::ORB::create_policy.
Definition at line 247 of file RT_Policy_i.cpp.
References ACE_NEW_THROW_EX, CORBA::COMPLETED_NO, and TAO::VMCID.
Referenced by TAO_RT_PolicyFactory::create_policy().
00248 { 00249 TAO_PrivateConnectionPolicy *tmp = 0; 00250 ACE_NEW_THROW_EX (tmp, 00251 TAO_PrivateConnectionPolicy (), 00252 CORBA::NO_MEMORY (TAO::VMCID, 00253 CORBA::COMPLETED_NO)); 00254 00255 return tmp; 00256 }
void TAO_PrivateConnectionPolicy::destroy | ( | void | ) |
CORBA::PolicyType TAO_PrivateConnectionPolicy::policy_type | ( | void | ) |