- Timestamp:
- Jul 12, 2006, 11:07:25 AM (18 years ago)
- Location:
- branches/proxy/src/lib/network
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/Makefile.am
r8623 r9252 20 20 network_game_manager.cc \ 21 21 converter.cc \ 22 peer_info.cc \ 22 23 message_manager.cc \ 23 24 network_log.cc \ … … 33 34 synchronizeable_var/synchronizeable_float.cc \ 34 35 synchronizeable_var/synchronizeable_bool.cc \ 35 synchronizeable_var/synchronizeable_uint.cc 36 synchronizeable_var/synchronizeable_uint.cc 36 37 37 38 … … 54 55 network_game_manager.h \ 55 56 converter.h \ 57 peer_info.h \ 56 58 netdefs.h \ 57 59 message_manager.h \ -
branches/proxy/src/lib/network/network_stream.cc
r9249 r9252 12 12 main-programmer: Christoph Renner rennerc@ee.ethz.ch 13 13 co-programmer: Patrick Boenzli boenzlip@orxonox.ethz.ch 14 15 June 2006: finishing work on the network stream for pps presentation (rennerc@ee.ethz.ch) 16 July 2006: some code rearangement and integration of the proxy server mechanism (boenzlip@ee.ethz.ch) 14 17 */ 15 18 -
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.