#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 () throw (CORBA::SystemException) |
CORBA::Policy_ptr | copy () throw (CORBA::SystemException) |
void | destroy () throw (CORBA::SystemException) |
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 187 of file RT_Policy_i.h.
|
Constructor.
Definition at line 245 of file RT_Policy_i.cpp.
00246 : ::CORBA::Object () 00247 , ::CORBA::Policy () 00248 , ::CORBA::LocalObject () 00249 , RTCORBA::PrivateConnectionPolicy () 00250 , TAO_Local_RefCounted_Object () 00251 { 00252 } |
|
Copy constructor.
Definition at line 254 of file RT_Policy_i.cpp.
00255 : ::CORBA::Object () 00256 , ::CORBA::Policy () 00257 , ::CORBA::LocalObject () 00258 , RTCORBA::PrivateConnectionPolicy () 00259 , TAO_Local_RefCounted_Object () 00260 { 00261 } |
|
Protected destructor to enforce proper memory management of this reference counted object. Definition at line 263 of file RT_Policy_i.cpp.
00264 { 00265 } |
|
Implements CORBA::Policy. Definition at line 309 of file RT_Policy_i.cpp. References TAO_CACHED_POLICY_RT_PRIVATE_CONNECTION.
00310 { 00311 return TAO_CACHED_POLICY_RT_PRIVATE_CONNECTION; 00312 } |
|
Implements CORBA::Policy. Definition at line 315 of file RT_Policy_i.cpp. References TAO_POLICY_OBJECT_SCOPE, TAO_POLICY_ORB_SCOPE, and TAO_POLICY_THREAD_SCOPE.
00316 { 00317 return static_cast<TAO_Policy_Scope> (TAO_POLICY_OBJECT_SCOPE | 00318 TAO_POLICY_THREAD_SCOPE | 00319 TAO_POLICY_ORB_SCOPE); 00320 } |
|
Implements RTCORBA::PrivateConnectionPolicy. Definition at line 289 of file RT_Policy_i.cpp. References ACE_CHECK_RETURN, and ACE_NEW_THROW_EX.
00291 { 00292 TAO_PrivateConnectionPolicy* tmp = 0; 00293 ACE_NEW_THROW_EX (tmp, 00294 TAO_PrivateConnectionPolicy (*this), 00295 CORBA::NO_MEMORY (TAO::VMCID, 00296 CORBA::COMPLETED_NO)); 00297 ACE_CHECK_RETURN (CORBA::Policy::_nil ()); 00298 00299 return tmp; 00300 } |
|
Helper method for the implementation of CORBA::ORB::create_policy. Definition at line 268 of file RT_Policy_i.cpp. References ACE_CHECK_RETURN, and ACE_NEW_THROW_EX. Referenced by TAO_RT_PolicyFactory::create_policy().
00270 { 00271 TAO_PrivateConnectionPolicy *tmp = 0; 00272 ACE_NEW_THROW_EX (tmp, 00273 TAO_PrivateConnectionPolicy (), 00274 CORBA::NO_MEMORY (TAO::VMCID, 00275 CORBA::COMPLETED_NO)); 00276 ACE_CHECK_RETURN (CORBA::Policy::_nil ()); 00277 00278 return tmp; 00279 } |
|
Implements RTCORBA::PrivateConnectionPolicy. Definition at line 303 of file RT_Policy_i.cpp.
00305 { 00306 } |
|
Implements CORBA::Policy. Definition at line 282 of file RT_Policy_i.cpp.
00284 {
00285 return RTCORBA::PRIVATE_CONNECTION_POLICY_TYPE;
00286 }
|