source:
orxonox.OLD/branches/network/src/lib/network/network_stream.h
@
5648
Last change on this file since 5648 was 5648, checked in by patrick, 19 years ago | |
---|---|
File size: 679 bytes |
Rev | Line | |
---|---|---|
[5566] | 1 | /*! |
2 | * @file network_stream.h | |
3 | * implementation of a network pipe | |
4 | */ | |
[5587] | 5 | |
[5566] | 6 | #ifndef _NETWORK_STREAM |
7 | #define _NETWORK_STREAM | |
8 | ||
[5582] | 9 | #include "data_stream.h" |
[5566] | 10 | |
[5647] | 11 | class Synchronizeable; |
12 | class NetworkSocket; | |
13 | class ConnectionMonitor; | |
[5589] | 14 | |
[5604] | 15 | class NetworkStream : public virtual DataStream |
[5566] | 16 | { |
17 | ||
18 | public: | |
19 | NetworkStream(); | |
[5648] | 20 | NetworkStream(IPaddress& address, Synchronizeable& sync); |
[5647] | 21 | |
[5566] | 22 | ~NetworkStream(); |
[5647] | 23 | |
24 | void init(); | |
25 | ||
26 | virtual void processData(); | |
[5566] | 27 | |
[5583] | 28 | private: |
[5601] | 29 | //NetworkProtocol* networkProtocol; |
[5607] | 30 | NetworkSocket* networkSockets; |
31 | ConnectionMonitor* connectionMonitor; | |
[5610] | 32 | // tList<Synchronizeable>* synchronizeables; |
33 | Synchronizeable* synchronizeables; | |
[5587] | 34 | }; |
[5566] | 35 | #endif /* _NETWORK_STREAM */ |
36 |
Note: See TracBrowser
for help on using the repository browser.