Changeset 9396 in orxonox.OLD for branches/proxy/src/lib/network/peer_info.h
- Timestamp:
- Jul 23, 2006, 10:07:23 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/peer_info.h
r9347 r9396 24 24 inline bool isMasterServer() { return this->nodeType == NET_MASTER_SERVER; } 25 25 inline bool isProxyServer() { return this->nodeType == NET_PROXY_SERVER_ACTIVE; } 26 inline bool isProxyServerPassive() { return this->nodeType == NET_PROXY_SERVER_PASSIVE; } 26 27 inline bool isClient() { return this->nodeType == NET_CLIENT; } 27 28 … … 30 31 31 32 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 35 36 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 39 40 40 int lastAckedState; 41 int lastRecvedState; 41 int lastAckedState; //!< last acked state synchronized state 42 int lastRecvedState; //!< last received state 42 43 }; 43 44
Note: See TracChangeset
for help on using the changeset viewer.