Changeset 9300 in orxonox.OLD for branches/proxy/src/lib/network/handshake.h
- Timestamp:
- Jul 17, 2006, 10:15:33 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/handshake.h
r9296 r9300 1 1 /*! 2 2 * @file network_stream.h 3 * implementation of a network pipe 3 * implementation of a network pipe. This node handles the handshake of two network nodes and exchanges informationas 4 * vial to the connection setup. 4 5 */ 5 6 … … 10 11 #include "synchronizeable.h" 11 12 12 13 //!< a struct to save the handshakes to 13 14 struct HandshakeState 14 15 { … … 36 37 }; 37 38 39 40 //!< the handshake itself with some interface functions 38 41 class Handshake : public Synchronizeable 39 42 { … … 74 77 75 78 /** @returns if true the local client should reconnect to a proxy server from the proxy server list */ 76 inline bool redirect() { return this->remoteState.redirectProxy;} 79 inline bool redirect() { return this->localState.redirectProxy;} 80 /** @param flag: indicating if the client should be redirected */ 81 inline void setRedirect(bool flag) { this->remoteState.redirectProxy = flag; } 77 82 78 83 /** @param address: the address of the proxy server 1 if any */
Note: See TracChangeset
for help on using the changeset viewer.