Expand description
CORBA::ORB::create_policy and the client side policy overrides of
the Messaging specification: Object::set_policy_overrides, the ORB’s
PolicyManager and the thread’s PolicyCurrent.
The one client side policy rustorb has is
Messaging::RelativeRoundtripTimeoutPolicy, the standard form of the
call timeouts: overriding it on an object reference, on the calling
thread or on the ORB sets the same timeout as
ObjectRef::set_call_timeout, set_thread_call_timeout and
Orb::set_call_timeout (see docs/orb-operations.md).
Structs§
- Policy
Error CORBA::PolicyError, raised byOrb::create_policy: thePolicyErrorCodeinreason.
Enums§
- Policy
Value - A policy that
Orb::create_policymakes: a POA policy, or a client side policy that can override the defaults of a reference, a thread or the ORB. - SetOverride
Type CORBA::SetOverrideType.
Constants§
- ID_
ASSIGNMENT_ POLICY_ ID PortableServer::ID_ASSIGNMENT_POLICY_ID.- ID_
UNIQUENESS_ POLICY_ ID PortableServer::ID_UNIQUENESS_POLICY_ID.- IMPLICIT_
ACTIVATION_ POLICY_ ID PortableServer::IMPLICIT_ACTIVATION_POLICY_ID.- LIFESPAN_
POLICY_ ID PortableServer::LIFESPAN_POLICY_ID.- RELATIVE_
RT_ TIMEOUT_ POLICY_ TYPE Messaging::RELATIVE_RT_TIMEOUT_POLICY_TYPE.- REQUEST_
PROCESSING_ POLICY_ ID PortableServer::REQUEST_PROCESSING_POLICY_ID.- SERVANT_
RETENTION_ POLICY_ ID PortableServer::SERVANT_RETENTION_POLICY_ID.- THREAD_
POLICY_ ID PortableServer::THREAD_POLICY_ID; the other POA policies follow it, up toREQUEST_PROCESSING_POLICY_ID(22).
Functions§
- create_
policy create_policywithout the ORB: seeOrb::create_policy.- set_
thread_ policy_ overrides PolicyCurrent::set_policy_overrides: the overrides of the calling thread, for every ORB. ARelativeRoundtripTimeoutPolicysets the thread’s call timeout (set_thread_call_timeout); without one (afterSET_OVERRIDE) the thread has none.NO_PERMISSIONfor a POA policy.- thread_
policy_ overrides PolicyCurrent::get_policy_overrides: the overrides of the calling thread of the typestypes, or all of them whentypesis empty.
Type Aliases§
- Policy
Type CORBA::PolicyType.