Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9276 in orxonox.OLD for branches/proxy/src/lib/network/monitor


Ignore:
Timestamp:
Jul 13, 2006, 9:56:47 PM (18 years ago)
Author:
patrick
Message:

added new structure network node

Location:
branches/proxy/src/lib/network/monitor
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/network/monitor/network_monitor.cc

    r9275 r9276  
    2020
    2121#include "network_monitor.h"
     22#include "network_node.h"
     23
    2224
    2325SHELL_COMMAND(showGUI, NetworkMonitor, showGUI);
  • branches/proxy/src/lib/network/monitor/network_monitor.h

    r9275 r9276  
    1414class NetworkStream;
    1515class PeerInfo;
     16class NetworkNode;
    1617
    1718namespace OrxGui { class GLGuiBox; };
    1819
    19 //!< a class representing a node in the network (this can be a MASTER_SERVER, PROXY_SERVER or a CLIENT
    20 class NetworkNode
    21 {
    22   public:
    23     NetworkNode() {}
    24     ~NetworkNode() {}
    2520
    26 
    27   private:
    28     int                          nodeType;                     //!< the type of the node
    29 
    30     std::list<PeerInfo*>         clientList;                   //!< list of all clients in the network
    31     std::list<PeerInfo*>         proxyServerList;              //!< list of all proxy servers in the network
    32     std::list<PeerInfo*>         masterServerList;             //!< list of all master servers in the network (should be 1!! :D)
    33 
    34 };
    3521
    3622//!< 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.