Changeset 9300 in orxonox.OLD for branches/proxy/src/lib/network/handshake.cc
- Timestamp:
- Jul 17, 2006, 10:15:33 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/handshake.cc
r9296 r9300 25 25 26 26 27 Handshake::Handshake( int nodeType, int clientId, int networkGameManagerId, int messageManagerId )27 Handshake::Handshake( int nodeType, int clientId, int networkGameManagerId, int messageManagerId ) 28 28 : Synchronizeable() 29 29 { … … 46 46 47 47 registerVar( new SynchronizeableString( &localState.preferedNickName, &remoteState.preferedNickName, "preferedNickName", PERMISSION_ALL ) ); 48 // now synchronize only two of the available proxy server addresses 48 49 registerVar( new SynchronizeableIP( &localState.proxy1, &remoteState.proxy1, "proxy server 1", PERMISSION_ALL ) ); 49 50 registerVar( new SynchronizeableIP( &localState.proxy2, &remoteState.proxy1, "proxy server 2", PERMISSION_ALL ) ); … … 61 62 localState.canDel = 0; 62 63 localState.redirectProxy = 0; 64 localState.proxy1.host = 0; 65 localState.proxy1.port = 0; 66 localState.proxy2.host = 0; 67 localState.proxy2.port = 0; 63 68 69 70 // init the remote state 64 71 remoteState.completed = 0; 65 72 remoteState.error = 0; … … 73 80 remoteState.canDel = 0; 74 81 remoteState.redirectProxy = 0; 82 remoteState.proxy1.host = 0; 83 remoteState.proxy1.port = 0; 84 remoteState.proxy2.host = 0; 85 remoteState.proxy2.port = 0; 75 86 76 87 // activate the synchronization process
Note: See TracChangeset
for help on using the changeset viewer.