summaryrefslogtreecommitdiff
path: root/ace/Time_Request_Reply.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2002-11-14 07:01:20 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2002-11-14 07:01:20 +0000
commit507e9a122ea8cf7b13d3eeae5704c1558fceea6e (patch)
treeb925040a7eaa7ea9909c9256be5cd2bdccda6957 /ace/Time_Request_Reply.h
parent538bf66dbb1ed1e42f3dca9ee8dbd6e8fb43d13b (diff)
downloadATCD-507e9a122ea8cf7b13d3eeae5704c1558fceea6e.tar.gz
ChangeLogTag: Thu Nov 14 06:57:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ace/Time_Request_Reply.h')
-rw-r--r--ace/Time_Request_Reply.h24
1 files changed, 16 insertions, 8 deletions
diff --git a/ace/Time_Request_Reply.h b/ace/Time_Request_Reply.h
index a88d1b1106a..0314f43bb00 100644
--- a/ace/Time_Request_Reply.h
+++ b/ace/Time_Request_Reply.h
@@ -48,13 +48,21 @@ public:
/// Default constructor.
ACE_Time_Request (void);
- /// Create a <ACE_Time_Request> message.
- ACE_Time_Request (ACE_INT32 msg_type, // Type of request.
+ /**
+ * Create a ACE_Time_Request message.
+ * @param msg_type Type of request.
+ * @param time Time.
+ * @param timeout Max time waiting for request.
+ */
+ ACE_Time_Request (ACE_INT32 msg_type,
const ACE_UINT32 time,
- ACE_Time_Value *timeout = 0); // Max time waiting for request.
+ ACE_Time_Value *timeout = 0);
- /// Initialize length_ in order to ensure correct byte ordering
- /// before a request is sent.
+ /**
+ * Initialize length_ in order to ensure correct byte ordering before a
+ * request is sent.
+ * @deprecated This method is a no-op.
+ */
void init (void);
// Get the fixed size of message
@@ -82,7 +90,7 @@ public:
ACE_Time_Value timeout (void) const;
/// Set the timeout.
- void timeout (const ACE_Time_Value timeout);
+ void timeout (const ACE_Time_Value& timeout);
/// Encode the message before transmission.
int encode (void *&);
@@ -103,8 +111,8 @@ private:
/// Type of the request (i.e., <TIME_UPDATE>)
ACE_INT32 msg_type_;
- /// Indicates if we should block forever. If 0, then <secTimeout_>
- /// and <usecTimeout_> indicates how long we should wait.
+ /// Indicates if we should block forever. If 0, then sec_timeout_
+ /// and usec_timeout_ indicates how long we should wait.
ACE_UINT32 block_forever_;
/// Max seconds willing to wait for name if not blocking forever.