summaryrefslogtreecommitdiff
path: root/ace/Method_Request.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-10-17 22:23:52 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-10-17 22:23:52 +0000
commit35a265a1403a032d721942cecb39651598b4631c (patch)
tree12de75c865ebc8168cb4ee3c7812034d5e89c983 /ace/Method_Request.h
parent714ddfc6970bd20d957e19013a15cb4db7e9064e (diff)
downloadATCD-35a265a1403a032d721942cecb39651598b4631c.tar.gz
.
Diffstat (limited to 'ace/Method_Request.h')
-rw-r--r--ace/Method_Request.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/ace/Method_Request.h b/ace/Method_Request.h
index 23c0653fc13..90c21425965 100644
--- a/ace/Method_Request.h
+++ b/ace/Method_Request.h
@@ -15,8 +15,8 @@
//
// ============================================================================
-#ifndef ACE_METHOD_OBJECT_H
-#define ACE_METHOD_OBJECT_H
+#ifndef ACE_METHOD_REQUEST_H
+#define ACE_METHOD_REQUEST_H
#include "ace/OS.h"
@@ -27,20 +27,24 @@
class ACE_Export ACE_Method_Request
{
// = TITLE
- // Reifies a method into an object. Subclasses typically
- // represent necessary state and behavior.
+ // Reifies a method into a request. Subclasses provide
+ // the 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 a <Scheduler>, which
+ // invokes the <call> method.
public:
// = Initialization and termination methods.
ACE_Method_Request (void);
+ // Constructor.
+
virtual ~ACE_Method_Request (void);
+ // Destructor.
// = Invocation method
virtual int call (void) = 0;
// Invoked when the <Method_Request> is scheduled to run.
};
-#endif /* ACE_METHOD_OBJECT_H */
+#endif /* ACE_METHOD_REQUEST_H */