summaryrefslogtreecommitdiff
path: root/ace/Activation_Queue.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-10-17 22:50:03 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-10-17 22:50:03 +0000
commitfd9265365da2687f03954bf30a5d6417814c7acc (patch)
treeb44d542aed5731c9194bb6dcf9220a08f9f3198b /ace/Activation_Queue.h
parent35a265a1403a032d721942cecb39651598b4631c (diff)
downloadATCD-fd9265365da2687f03954bf30a5d6417814c7acc.tar.gz
.
Diffstat (limited to 'ace/Activation_Queue.h')
-rw-r--r--ace/Activation_Queue.h21
1 files changed, 13 insertions, 8 deletions
diff --git a/ace/Activation_Queue.h b/ace/Activation_Queue.h
index f2ef104162a..5913142b9e4 100644
--- a/ace/Activation_Queue.h
+++ b/ace/Activation_Queue.h
@@ -29,22 +29,26 @@
class ACE_Export ACE_Activation_Queue
{
// = TITLE
- // Reifies a method into an object. Subclasses typically
+ // Reifies a method into a request. Subclasses typically
// represent necessary state and behavior.
//
// = DESCRIPTION
- // A <Method_Request> is inserted in the <Activation_Queue>, where
- // it is subsequently removed by the <Scheduler> and invoked.
+ // A <Method_Request> is inserted in the <Activation_Queue>,
+ // where it is subsequently removed by the <Scheduler>, which
+ // invokes its <call> method..
public:
// = Initialization and termination methods.
ACE_Activation_Queue (ACE_Message_Queue<ACE_SYNCH> *new_queue = 0);
+ // Constructor.
+
virtual ~ACE_Activation_Queue (void);
+ // Destructor.
- // = Queue operations.
+ // = Activate Queue operations.
// For the following two methods if <timeout> == 0, the caller will
// block until action is possible, else will wait until the absolute
- // time specified in *<timeout> elapses). These calls will return,
+ // time specified in *<timeout> elapses. These calls will return,
// however, when queue is closed, deactivated, when a signal occurs,
// or if the time specified in timeout elapses, (in which case errno
// = EWOULDBLOCK).
@@ -52,12 +56,13 @@ public:
ACE_Method_Request *dequeue (ACE_Time_Value *tv = 0);
// Dequeue the next available <Method_Request>.
- int enqueue (ACE_Method_Request *new_method_object,
+ int enqueue (ACE_Method_Request *new_method_request,
ACE_Time_Value *tv = 0);
- // Enqueue the <Method_Request>.
+ // Enqueue the <Method_Request> in priority order. The priority is
+ // determined by the <priority> method of the <new_message_request>.
void dump (void) const;
- // Dump the state of an object.
+ // Dump the state of an request.
ACE_ALLOC_HOOK_DECLARE;
// Declare the dynamic allocation hooks.