Changeset 9334 in orxonox.OLD for branches/proxy/src/lib/network/handshake.h
- Timestamp:
- Jul 19, 2006, 10:29:14 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/handshake.h
r9300 r9334 9 9 10 10 #include "base_object.h" 11 #include "ip.h" 11 12 #include "synchronizeable.h" 12 13 … … 33 34 34 35 int redirectProxy; //!< true if the client should reconnect to a proxy server (either 1 or 2 ) 35 IP addressproxy1; //!< ip address of the first proxy (0.0.0.0 of not available)36 IP addressproxy2; //!< ip address of the second proxy (0.0.0.0 of not available)36 IP proxy1; //!< ip address of the first proxy (0.0.0.0 of not available) 37 IP proxy2; //!< ip address of the second proxy (0.0.0.0 of not available) 37 38 }; 38 39 … … 82 83 83 84 /** @param address: the address of the proxy server 1 if any */ 84 inline void setProxy1Address(IP addressaddress) { this->localState.proxy1 = address; }85 inline void setProxy1Address(IP address) { this->localState.proxy1 = address; } 85 86 /** @returns the address of the proxy server 1 if any */ 86 inline IP addressgetProxy1Address() { return this->localState.proxy1; }87 inline IP getProxy1Address() { return this->localState.proxy1; } 87 88 /** @param address: the address of the proxy server 2 if any */ 88 inline void setProxy2Address(IP addressaddress) { this->localState.proxy2 = address; }89 inline void setProxy2Address(IP address) { this->localState.proxy2 = address; } 89 90 /** @returns the address of the proxy server 2 if any */ 90 inline IP addressgetProxy2Address() { return this->localState.proxy2; }91 inline IP getProxy2Address() { return this->localState.proxy2; } 91 92 92 93
Note: See TracChangeset
for help on using the changeset viewer.