Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/network/src/lib/network/network_stream.h @ 5741

Last change on this file since 5741 was 5741, checked in by bottac, 18 years ago
File size: 813 bytes
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 "data_stream.h"
10
11class Synchronizeable;
12class NetworkSocket;
13class ConnectionMonitor;
14class NetworkProtocol;
15
16class NetworkStream : public DataStream
17{
18
19public:
20  NetworkStream();
21  NetworkStream(IPaddress& address, Synchronizeable& sync, NodeType type);
22  NetworkStream(Synchronizeable& sync, int port, NodeType type);
23 
24  ~NetworkStream();
25   
26  void init();
27 
28  virtual void processData();
29
30private:
31   NetworkProtocol* networkProtocol;
32   //NetworkSocket*       networkSockets;
33   ConnectionMonitor*      connectionMonitor;
34   // tList<Synchronizeable>* synchronizeables;
35   Synchronizeable*         synchronizeables;
36   NetworkSocket* networkSocket;
37};
38#endif /* _NETWORK_STREAM */
39
Note: See TracBrowser for help on using the repository browser.