Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 5728 was 5728, checked in by bknecht, 18 years ago

"synchronized" DataStream with NetworkStream

File size: 785 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;
14
15class NetworkStream : public DataStream
16{
17
18public:
19  NetworkStream();
20  NetworkStream(IPaddress& address, Synchronizeable& sync, NodeType type);
21  NetworkStream(Synchronizeable& sync, int port, NodeType type);
22 
23  ~NetworkStream();
24   
25  void init();
26 
27  virtual void processData();
28
29private:
30  //NetworkProtocol* networkProtocol;
31  //NetworkSocket*        networkSockets;
32  ConnectionMonitor*      connectionMonitor;
33 // tList<Synchronizeable>* synchronizeables;
34  Synchronizeable*          synchronizeables;
35  NetworkSocket* networkSocket;
36};
37#endif /* _NETWORK_STREAM */
38
Note: See TracBrowser for help on using the repository browser.