Changeset 9276 in orxonox.OLD for branches/proxy/src/lib
- Timestamp:
- Jul 13, 2006, 9:56:47 PM (18 years ago)
- Location:
- branches/proxy/src/lib/network
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/Makefile.am
r9275 r9276 8 8 shared_network_data.cc \ 9 9 network_socket.cc \ 10 monitor/connection_monitor.cc \11 monitor/network_monitor.cc \12 10 network_stream.cc \ 13 11 data_stream.cc \ … … 28 26 udp_broadcast.cc \ 29 27 \ 28 monitor/connection_monitor.cc \ 29 monitor/network_monitor.cc \ 30 monitor/network_node.cc \ 31 \ 30 32 synchronizeable_var/synchronizeable_var.cc \ 31 33 synchronizeable_var/synchronizeable_vector.cc \ … … 44 46 shared_network_data.h \ 45 47 network_socket.h \ 46 monitor/connection_monitor.h \47 monitor/network_monitor.h \48 48 network_stream.h \ 49 49 data_stream.h \ … … 65 65 udp_broadcast.h \ 66 66 \ 67 monitor/connection_monitor.h \ 68 monitor/network_monitor.h \ 69 monitor/network_node.h \ 70 \ 67 71 synchronizeable_var/synchronizeable_var.h \ 68 72 synchronizeable_var/synchronizeable_vector.h \ -
branches/proxy/src/lib/network/monitor/network_monitor.cc
r9275 r9276 20 20 21 21 #include "network_monitor.h" 22 #include "network_node.h" 23 22 24 23 25 SHELL_COMMAND(showGUI, NetworkMonitor, showGUI); -
branches/proxy/src/lib/network/monitor/network_monitor.h
r9275 r9276 14 14 class NetworkStream; 15 15 class PeerInfo; 16 class NetworkNode; 16 17 17 18 namespace OrxGui { class GLGuiBox; }; 18 19 19 //!< a class representing a node in the network (this can be a MASTER_SERVER, PROXY_SERVER or a CLIENT20 class NetworkNode21 {22 public:23 NetworkNode() {}24 ~NetworkNode() {}25 20 26 27 private:28 int nodeType; //!< the type of the node29 30 std::list<PeerInfo*> clientList; //!< list of all clients in the network31 std::list<PeerInfo*> proxyServerList; //!< list of all proxy servers in the network32 std::list<PeerInfo*> masterServerList; //!< list of all master servers in the network (should be 1!! :D)33 34 };35 21 36 22 //!< a class that monitors the whole network. it tries to gather all informations its able to from the network
Note: See TracChangeset
for help on using the changeset viewer.