Changeset 9252 in orxonox.OLD for branches/proxy/src/lib/network/network_stream.h
- Timestamp:
- Jul 12, 2006, 11:07:25 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/network_stream.h
r9251 r9252 16 16 #include "connection_monitor.h" 17 17 #include "udp_server_socket.h" 18 #include "peer_info.h" 18 19 19 20 class Synchronizeable; … … 21 22 class ServerSocket; 22 23 class NetworkGameManager; 23 24 //!< this structure contains informations about the network node25 class PeerInfo26 {27 public:28 PeerInfo() { clear(); }29 30 void clear()31 {32 this->userId = 0;33 this->nodeType = NET_CLIENT;34 this->isMasterServer = false;35 this->isProxyServer = false;36 this->isClient = false;37 this->socket = NULL;38 this->handshake = NULL;39 this->lastAckedState = 0;40 this->lastRecvedState = 0;41 this->connectionMonitor = NULL;42 }43 44 45 public:46 int userId;47 int nodeType;48 bool isMasterServer;49 bool isProxyServer;50 bool isClient;51 NetworkSocket * socket;52 Handshake * handshake;53 ConnectionMonitor * connectionMonitor;54 int lastAckedState;55 int lastRecvedState;56 };57 58 24 59 25
Note: See TracChangeset
for help on using the changeset viewer.