Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

BrokerPolicies::PartitionPolicy Interface Reference

Inheritance diagram for BrokerPolicies::PartitionPolicy:

Inheritance graph
[legend]
Collaboration diagram for BrokerPolicies::PartitionPolicy:

Collaboration graph
[legend]
List of all members.

Detailed Description

A contention policy that delegates decisions to zero or more subpolicies.

See also:
PartitionPolicyImpl

Definition at line 88 of file StrictPolicy.idl.

Public Member Functions

void SetTaskPolicy (in Broker::Task task, in Broker::Policy bp)
 Set the subpolicy for a task.
Broker::Policy GetTaskPolicy (in Broker::Task task)
 Get the subpolicy for a task.

Public Attributes

attribute Broker::Policy DefaultPolicy
 The default policy to attach tasks to when they are added to a manager.


Member Function Documentation

Broker::Policy BrokerPolicies::PartitionPolicy::GetTaskPolicy in Broker::Task  task  ) 
 

Get the subpolicy for a task.

Parameters:
task The task whose policy should be retrieved.
Returns:
The task's policy.
Exceptions:
CORBA::BAD_PARAM if task is nil.
CORBA::BAD_PARAM if task is not managed by this policy.

void BrokerPolicies::PartitionPolicy::SetTaskPolicy in Broker::Task  task,
in Broker::Policy  bp
 

Set the subpolicy for a task.

Parameters:
task The task whose policy should be changed.
bp The new policy.
Exceptions:
CORBA::BAD_PARAM if task is nil.
CORBA::BAD_PARAM if task is not managed by this policy.


Member Data Documentation

attribute Broker::Policy BrokerPolicies::PartitionPolicy::DefaultPolicy
 

The default policy to attach tasks to when they are added to a manager.

Definition at line 94 of file StrictPolicy.idl.


The documentation for this interface was generated from the following file:
Generated on Fri Oct 22 07:51:08 2004 for CPU Broker by  doxygen 1.3.9.1