diff options
author | Mike Buland <eichlan@xagasoft.com> | 2007-06-18 19:42:34 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2007-06-18 19:42:34 +0000 |
commit | 8b12972092777af56ae21f65b41f4c40d52c2367 (patch) | |
tree | 3ee45c4b69899acb0cdbd013ea8e6ea54bcdc023 /src/socket.h | |
parent | 5292e5831934dc719d1ac06332bd252abe4ac3bc (diff) | |
download | libbu++-8b12972092777af56ae21f65b41f4c40d52c2367.tar.gz libbu++-8b12972092777af56ae21f65b41f4c40d52c2367.tar.bz2 libbu++-8b12972092777af56ae21f65b41f4c40d52c2367.tar.xz libbu++-8b12972092777af56ae21f65b41f4c40d52c2367.zip |
Added the protocol class. servers work, but don't send data, updated the streams
to include many more state indicators and caps queries, and everything is
working better in general.
Diffstat (limited to '')
-rw-r--r-- | src/socket.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/socket.h b/src/socket.h index 30a43fb..c9dbd8d 100644 --- a/src/socket.h +++ b/src/socket.h | |||
@@ -28,12 +28,16 @@ namespace Bu | |||
28 | virtual void setPos( long pos ); | 28 | virtual void setPos( long pos ); |
29 | virtual void setPosEnd( long pos ); | 29 | virtual void setPosEnd( long pos ); |
30 | virtual bool isEOS(); | 30 | virtual bool isEOS(); |
31 | virtual bool isOpen(); | ||
31 | 32 | ||
32 | virtual void flush(); | 33 | virtual void flush(); |
33 | 34 | ||
34 | virtual bool canRead(); | 35 | virtual bool canRead(); |
35 | virtual bool canWrite(); | 36 | virtual bool canWrite(); |
36 | virtual bool canSeek(); | 37 | |
38 | virtual bool isReadable(); | ||
39 | virtual bool isWritable(); | ||
40 | virtual bool isSeekable(); | ||
37 | 41 | ||
38 | virtual bool isBlocking(); | 42 | virtual bool isBlocking(); |
39 | virtual void setBlocking( bool bBlocking=true ); | 43 | virtual void setBlocking( bool bBlocking=true ); |