diff options
author | Mike Buland <eichlan@xagasoft.com> | 2007-04-10 21:48:23 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2007-04-10 21:48:23 +0000 |
commit | 1fa3ca5f24c018126333ca2d6609730e1ae17386 (patch) | |
tree | 2877418e3b41c6fbd6505545cc01075899e5c7f8 /src/stream.h | |
parent | 070374dde0f53bff26078550997f7682e84412e5 (diff) | |
download | libbu++-1fa3ca5f24c018126333ca2d6609730e1ae17386.tar.gz libbu++-1fa3ca5f24c018126333ca2d6609730e1ae17386.tar.bz2 libbu++-1fa3ca5f24c018126333ca2d6609730e1ae17386.tar.xz libbu++-1fa3ca5f24c018126333ca2d6609730e1ae17386.zip |
Added more comments, help, and socket actually reads and writes some, but it's
not done. I need to decide how I want to do the buffering...
Diffstat (limited to 'src/stream.h')
-rw-r--r-- | src/stream.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/stream.h b/src/stream.h index ae94234..e640959 100644 --- a/src/stream.h +++ b/src/stream.h | |||
@@ -6,6 +6,16 @@ | |||
6 | 6 | ||
7 | namespace Bu | 7 | namespace Bu |
8 | { | 8 | { |
9 | /** | ||
10 | * The basis for a completely general data transport mechanism. Anything | ||
11 | * that inherits from this should provide at least the basic read and/or | ||
12 | * write functions, and very probably the close function. Any functions | ||
13 | * that aren't supported should throw an exception if called. | ||
14 | * | ||
15 | * The constructor of a child class should pretty much universally be used | ||
16 | * to open the stream. I can't think of anything that should require an | ||
17 | * exception. | ||
18 | */ | ||
9 | class Stream | 19 | class Stream |
10 | { | 20 | { |
11 | public: | 21 | public: |