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

BrokerPolicies::StrictPolicy Interface Reference

Inheritance diagram for BrokerPolicies::StrictPolicy:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

A simple strict priority-based contention policy.

The priority is a signed integer where larger values indicate a higher priority.

See also:
StrictPolicyImpl

Definition at line 26 of file StrictPolicy.idl.

Public Member Functions

void SetTaskPriority (in Broker::Task task, in short priority)
 Set the priority of a task.
short GetTaskPriority (in Broker::Task task)
 Get the priority of a task.


Member Function Documentation

short BrokerPolicies::StrictPolicy::GetTaskPriority in Broker::Task  task  ) 
 

Get the priority of a task.

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

void BrokerPolicies::StrictPolicy::SetTaskPriority in Broker::Task  task,
in short  priority
 

Set the priority of a task.

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


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