Last change
on this file since 5554 was
5554,
checked in by bknecht, 18 years ago
|
added comments to data_stream files (.cc, .h), data_stream should now compile and is ready for implementation
|
File size:
721 bytes
|
Line | |
---|
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 |
---|
6 | |
---|
7 | */ |
---|
8 | |
---|
9 | #ifndef _DATA_STREAM_H |
---|
10 | #define _DATA_STREAM_H |
---|
11 | |
---|
12 | #include "base_object.h" |
---|
13 | |
---|
14 | class DataStream : public BaseObject |
---|
15 | { |
---|
16 | DataStream(); |
---|
17 | ~DataStream(); |
---|
18 | |
---|
19 | protected: |
---|
20 | byte inBuffer []; |
---|
21 | byte outBuffer []; |
---|
22 | |
---|
23 | public void connectStream(); |
---|
24 | |
---|
25 | public void disconnectStream(); |
---|
26 | |
---|
27 | public virtual void processData(); |
---|
28 | |
---|
29 | protected virtual void write(); |
---|
30 | |
---|
31 | protected virtual void read(); |
---|
32 | } |
---|
33 | |
---|
34 | #endif /* _DATA_STREAM_ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.