Reifies a method into a request. Subclasses must provide the necessary state and behavior. More...
|ACE_Method_Request (unsigned long priority=0)|
|unsigned long||priority (void) const|
|Get priority. |
|void||priority (unsigned long prio)|
|Set priority. |
|virtual int||call (void)=0|
|Invoked by the scheduler to execute the request. |
|The priority of the request. |
|ACE_Method_Request (const ACE_Method_Request &)|
|Disallow copying and assignment. |
|void||operator= (const ACE_Method_Request &)|
Reifies a method into a request. Subclasses must provide the necessary state and behavior.
This class is discussed in depth in the Active Object chapter of POSA2.
|ACE_Method_Request::ACE_Method_Request||(||unsigned long|| priority =
|ACE_Method_Request::ACE_Method_Request||(||const ACE_Method_Request &||)||
Disallow copying and assignment.
|virtual int ACE_Method_Request::call||(||void||)||
Invoked by the scheduler to execute the request.
This method must be implemented by the subclass to perform the desired actions.
|void ACE_Method_Request::operator=||(||const ACE_Method_Request &||)||
|unsigned long ACE_Method_Request::priority||(||void||)||const|
|void ACE_Method_Request::priority||(||unsigned long||prio||)|
Priority values are user-defined. The default (set in the constructor) is 0. The priority value is used in the ACE_Activation_Queue::enqueue() method to order the method requests in the queue by priority. 0 is the lowest priority.
|prio||unsigned long, the new priority value for this object.|
|unsigned long ACE_Method_Request::priority_
The priority of the request.