/*! * @file network_stream.h * implementation of a network pipe */ #ifndef _NETWORK_STREAM #define _NETWORK_STREAM #include "data_stream.h" #include "network_protocol.h" class Synchronizeable; class NetworkSocket; class ConnectionMonitor; class NetworkProtocol; //type == NET_SERVER)? true:false; } inline bool isActive() const { return this->bActive; } virtual void processData(); private: NetworkProtocol* networkProtocol; ConnectionMonitor* connectionMonitor; Synchronizeable* synchronizeables; NetworkSocket* networkSocket; int type; int state; Header packetHeader; bool bActive; }; #endif /* _NETWORK_STREAM */