Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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, 18 years ago

network: some more constructor/interface work

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