summaryrefslogtreecommitdiff
path: root/ace/IOStream.h
diff options
context:
space:
mode:
authornw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-12-19 23:22:39 +0000
committernw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-12-19 23:22:39 +0000
commit9beba18c36fb876e8615c4a12517b8a41dcce4fd (patch)
tree736b8d60a60b6ee3a9971e9a19670013d7cfff19 /ace/IOStream.h
parentd12b9726cc2dfe96bb1a95d36a047113cf891d8d (diff)
downloadATCD-9beba18c36fb876e8615c4a12517b8a41dcce4fd.tar.gz
Incoporate James CE Johnson's patches.
Diffstat (limited to 'ace/IOStream.h')
-rw-r--r--ace/IOStream.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ace/IOStream.h b/ace/IOStream.h
index 228bb1c0079..34273880331 100644
--- a/ace/IOStream.h
+++ b/ace/IOStream.h
@@ -184,6 +184,10 @@ public:
u_int streambuf_size (void);
// Query the streambuf for the size of it's buffers.
+ u_char timeout (void);
+ // Did we take an error because of an IO operation timeout?
+ // Note: Invoking this resets the flag.
+
protected:
ACE_Streambuf (u_int streambuf_size,
int io_mode);
@@ -227,6 +231,9 @@ protected:
// This defines the size of the input and output buffers. It can be
// set by the object constructor.
+ u_char timeout_;
+ // Did we take an error because of an IO operatio timeout?
+
ACE_Time_Value recv_timeout_value_;
ACE_Time_Value *recv_timeout_;
// We want to allow the user to provide Time_Value pointers to