Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9273 in orxonox.OLD


Ignore:
Timestamp:
Jul 13, 2006, 8:58:57 PM (18 years ago)
Author:
patrick
Message:

working on an extended network monitor to reflect the whole network topology

File:
1 edited

Legend:

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

    r9272 r9273  
    1717namespace OrxGui { class GLGuiBox; };
    1818
     19//!< a class representing a node in the network (this can be a MASTER_SERVER, PROXY_SERVER or a CLIENT
     20class NetworkNode
     21{
     22  public:
     23    NetworkNode() {}
     24    ~NetworkNode() {}
     25
     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};
     35
     36//!< a class that monitors the whole network. it tries to gather all informations its able to from the network
    1937class NetworkMonitor : public Synchronizeable
    2038{
     
    4462    std::list<PeerInfo*>         masterServerList;             //!< list of all master servers in the network (should be 1!! :D)
    4563
     64
    4665    OrxGui::GLGuiBox*            box;
    4766
Note: See TracChangeset for help on using the changeset viewer.