Last change
on this file since 5554 was
5554,
checked in by bknecht, 19 years ago
|
added comments to data_stream files (.cc, .h), data_stream should now compile and is ready for implementation
|
File size:
721 bytes
|
Rev | Line | |
---|
[5554] | 1 | /*! |
---|
| 2 | * @file data_stream.h |
---|
| 3 | * Main class for a data stream, used for our network stream |
---|
| 4 | * network stream will get data, and will send it with a network socket |
---|
| 5 | * to another network stream |
---|
[5524] | 6 | |
---|
[5554] | 7 | */ |
---|
| 8 | |
---|
| 9 | #ifndef _DATA_STREAM_H |
---|
| 10 | #define _DATA_STREAM_H |
---|
| 11 | |
---|
| 12 | #include "base_object.h" |
---|
| 13 | |
---|
| 14 | class DataStream : public BaseObject |
---|
[5524] | 15 | { |
---|
[5554] | 16 | DataStream(); |
---|
| 17 | ~DataStream(); |
---|
| 18 | |
---|
[5524] | 19 | protected: |
---|
| 20 | byte inBuffer []; |
---|
| 21 | byte outBuffer []; |
---|
| 22 | |
---|
| 23 | public void connectStream(); |
---|
| 24 | |
---|
| 25 | public void disconnectStream(); |
---|
| 26 | |
---|
[5554] | 27 | public virtual void processData(); |
---|
[5524] | 28 | |
---|
| 29 | protected virtual void write(); |
---|
| 30 | |
---|
| 31 | protected virtual void read(); |
---|
| 32 | } |
---|
[5554] | 33 | |
---|
| 34 | #endif /* _DATA_STREAM_ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.