| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 private: | 219 private: |
| 220 friend class VirtualSocket; | 220 friend class VirtualSocket; |
| 221 | 221 |
| 222 typedef std::map<SocketAddress, VirtualSocket*> AddressMap; | 222 typedef std::map<SocketAddress, VirtualSocket*> AddressMap; |
| 223 typedef std::map<SocketAddressPair, VirtualSocket*> ConnectionMap; | 223 typedef std::map<SocketAddressPair, VirtualSocket*> ConnectionMap; |
| 224 | 224 |
| 225 SocketServer* server_; | 225 SocketServer* server_; |
| 226 bool server_owned_; | 226 bool server_owned_; |
| 227 MessageQueue* msg_queue_; | 227 MessageQueue* msg_queue_; |
| 228 bool stop_on_idle_; | 228 bool stop_on_idle_; |
| 229 uint32_t network_delay_; | 229 int64_t network_delay_; |
| 230 in_addr next_ipv4_; | 230 in_addr next_ipv4_; |
| 231 in6_addr next_ipv6_; | 231 in6_addr next_ipv6_; |
| 232 uint16_t next_port_; | 232 uint16_t next_port_; |
| 233 AddressMap* bindings_; | 233 AddressMap* bindings_; |
| 234 ConnectionMap* connections_; | 234 ConnectionMap* connections_; |
| 235 | 235 |
| 236 IPAddress default_route_v4_; | 236 IPAddress default_route_v4_; |
| 237 IPAddress default_route_v6_; | 237 IPAddress default_route_v6_; |
| 238 | 238 |
| 239 uint32_t bandwidth_; | 239 uint32_t bandwidth_; |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 | 348 |
| 349 // Store the options that are set | 349 // Store the options that are set |
| 350 OptionsMap options_map_; | 350 OptionsMap options_map_; |
| 351 | 351 |
| 352 friend class VirtualSocketServer; | 352 friend class VirtualSocketServer; |
| 353 }; | 353 }; |
| 354 | 354 |
| 355 } // namespace rtc | 355 } // namespace rtc |
| 356 | 356 |
| 357 #endif // WEBRTC_BASE_VIRTUALSOCKETSERVER_H_ | 357 #endif // WEBRTC_BASE_VIRTUALSOCKETSERVER_H_ |
| OLD | NEW |