Line | |
---|
1 | /*! |
---|
2 | * @file network_stream.h |
---|
3 | * implementation of a network pipe |
---|
4 | */ |
---|
5 | |
---|
6 | #ifndef _NETWORK_STREAM |
---|
7 | #define _NETWORK_STREAM |
---|
8 | |
---|
9 | #include "base_object.h" |
---|
10 | #include "data_stream.h" |
---|
11 | // #include "network_protocol.h" |
---|
12 | #include "network_socket.h" |
---|
13 | #include "connection_monitor.h" |
---|
14 | #include "synchronizeable.h" |
---|
15 | #include "list.h" |
---|
16 | |
---|
17 | |
---|
18 | class NetworkStream : public BaseObject |
---|
19 | { |
---|
20 | |
---|
21 | public: |
---|
22 | NetworkStream(); |
---|
23 | ~NetworkStream(); |
---|
24 | void writePacket(); |
---|
25 | void readPacket(); |
---|
26 | |
---|
27 | private: |
---|
28 | //NetworkProtocol* networkProtocol; |
---|
29 | NetworkSocket* networkSockets; |
---|
30 | tList<Synchronizeable>* synchronizeables; |
---|
31 | |
---|
32 | }; |
---|
33 | #endif /* _NETWORK_STREAM */ |
---|
34 | |
---|
Note: See
TracBrowser
for help on using the repository browser.