summaryrefslogtreecommitdiff
path: root/ace/Method_Request.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/Method_Request.h
parent35a265a1403a032d721942cecb39651598b4631c (diff)
downloadATCD-fd9265365da2687f03954bf30a5d6417814c7acc.tar.gz
.
Diffstat (limited to 'ace/Method_Request.h')
-rw-r--r--ace/Method_Request.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/ace/Method_Request.h b/ace/Method_Request.h
index 90c21425965..eb4276e4368 100644
--- a/ace/Method_Request.h
+++ b/ace/Method_Request.h
@@ -36,15 +36,26 @@ class ACE_Export ACE_Method_Request
// invokes the <call> method.
public:
// = Initialization and termination methods.
- ACE_Method_Request (void);
+ ACE_Method_Request (u_long priority = 0);
// Constructor.
virtual ~ACE_Method_Request (void);
// Destructor.
- // = Invocation method
+ // = Accessors.
+ u_long priority (void);
+ // Get priority.
+
+ void priority (u_long);
+ // Set priority.
+
+ // = Invocation method (must be overridden by subclasses).
virtual int call (void) = 0;
// Invoked when the <Method_Request> is scheduled to run.
+
+protected:
+ u_long priority_;
+ // The priority of the request.
};
#endif /* ACE_METHOD_REQUEST_H */