Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9396 in orxonox.OLD for branches/proxy/src/lib/network/peer_info.h


Ignore:
Timestamp:
Jul 23, 2006, 10:07:23 PM (18 years ago)
Author:
patrick
Message:

committing my weekends work: 2100 lines :D

  • proxy server now accepts and synchronizes clients like a master server
  • network manager got different network setup interface
  • network stream got different constructure scheme
  • permissions checking and algorithm extended and changed
  • starting ability to connect to multiple network nodes at the same time
  • some very much smaller changes here and there
File:
1 edited

Legend:

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

    r9347 r9396  
    2424    inline bool isMasterServer() { return this->nodeType == NET_MASTER_SERVER; }
    2525    inline bool isProxyServer() { return this->nodeType == NET_PROXY_SERVER_ACTIVE; }
     26    inline bool isProxyServerPassive() { return this->nodeType == NET_PROXY_SERVER_PASSIVE; }
    2627    inline bool isClient() { return this->nodeType == NET_CLIENT; }
    2728
     
    3031
    3132  public:
    32     int                 userId;
    33     int                 nodeType;
    34     IP                  ip;
     33    int                 userId;                  //!< id of this network node
     34    int                 nodeType;                //!< type of this network node
     35    IP                  ip;                      //!> the ip address of this network node
    3536
    36     NetworkSocket *     socket;
    37     Handshake *         handshake;
    38     ConnectionMonitor * connectionMonitor;
     37    NetworkSocket *     socket;                  //!< socket connecting to this node
     38    Handshake *         handshake;               //!< the handshake object, active on connection setup
     39    ConnectionMonitor * connectionMonitor;       //!< ConnectionMonitor monitoring the current network traffic
    3940
    40     int                 lastAckedState;
    41     int                 lastRecvedState;
     41    int                 lastAckedState;          //!< last acked state synchronized state
     42    int                 lastRecvedState;         //!< last received state
    4243};
    4344
Note: See TracChangeset for help on using the changeset viewer.