/*! * @file network_node.h * a class representing a node in the network (this can be a MASTER_SERVER, PROXY_SERVER or a CLIENT */ #ifndef _NETWORK_NODE_H #define _NETWORK_NODE_H #include "base_object.h" #include "synchronizeable.h" #include class PeerInfo; //!< a class representing a node in the network (this can be a MASTER_SERVER, PROXY_SERVER or a CLIENT class NetworkNode { public: NetworkNode(); ~NetworkNode(); private: int nodeType; //!< the type of the node std::list clientList; //!< list of all clients in the network std::list proxyServerList; //!< list of all proxy servers in the network std::list masterServerList; //!< list of all master servers in the network (should be 1!! :D) }; #endif /* _NETWORK_NODE_H */