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/filter.cpp | |
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 'src/filter.cpp')
-rw-r--r-- | src/filter.cpp | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/src/filter.cpp b/src/filter.cpp index 693fb9f..96a8694 100644 --- a/src/filter.cpp +++ b/src/filter.cpp | |||
@@ -50,6 +50,11 @@ bool Bu::Filter::isEOS() | |||
50 | return rNext.isEOS(); | 50 | return rNext.isEOS(); |
51 | } | 51 | } |
52 | 52 | ||
53 | bool Bu::Filter::isOpen() | ||
54 | { | ||
55 | return rNext.isOpen(); | ||
56 | } | ||
57 | |||
53 | bool Bu::Filter::canRead() | 58 | bool Bu::Filter::canRead() |
54 | { | 59 | { |
55 | return rNext.canRead(); | 60 | return rNext.canRead(); |
@@ -60,9 +65,19 @@ bool Bu::Filter::canWrite() | |||
60 | return rNext.canWrite(); | 65 | return rNext.canWrite(); |
61 | } | 66 | } |
62 | 67 | ||
63 | bool Bu::Filter::canSeek() | 68 | bool Bu::Filter::isReadable() |
69 | { | ||
70 | return rNext.isReadable(); | ||
71 | } | ||
72 | |||
73 | bool Bu::Filter::isWritable() | ||
74 | { | ||
75 | return rNext.isWritable(); | ||
76 | } | ||
77 | |||
78 | bool Bu::Filter::isSeekable() | ||
64 | { | 79 | { |
65 | return rNext.canSeek(); | 80 | return rNext.isSeekable(); |
66 | } | 81 | } |
67 | 82 | ||
68 | bool Bu::Filter::isBlocking() | 83 | bool Bu::Filter::isBlocking() |