OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2012 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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 // Reconstruct the URL of the server which the candidate is gathered from. | 263 // Reconstruct the URL of the server which the candidate is gathered from. |
264 std::string ReconstructedServerUrl(); | 264 std::string ReconstructedServerUrl(); |
265 | 265 |
266 ProtocolAddress server_address_; | 266 ProtocolAddress server_address_; |
267 TlsCertPolicy tls_cert_policy_ = TlsCertPolicy::TLS_CERT_POLICY_SECURE; | 267 TlsCertPolicy tls_cert_policy_ = TlsCertPolicy::TLS_CERT_POLICY_SECURE; |
268 RelayCredentials credentials_; | 268 RelayCredentials credentials_; |
269 AttemptedServerSet attempted_server_addresses_; | 269 AttemptedServerSet attempted_server_addresses_; |
270 | 270 |
271 rtc::AsyncPacketSocket* socket_; | 271 rtc::AsyncPacketSocket* socket_; |
272 SocketOptionsMap socket_options_; | 272 SocketOptionsMap socket_options_; |
273 rtc::AsyncResolverInterface* resolver_; | 273 std::unique_ptr<rtc::AsyncResolverInterface> resolver_; |
274 int error_; | 274 int error_; |
275 | 275 |
276 StunRequestManager request_manager_; | 276 StunRequestManager request_manager_; |
277 std::string realm_; // From 401/438 response message. | 277 std::string realm_; // From 401/438 response message. |
278 std::string nonce_; // From 401/438 response message. | 278 std::string nonce_; // From 401/438 response message. |
279 std::string hash_; // Digest of username:realm:password | 279 std::string hash_; // Digest of username:realm:password |
280 | 280 |
281 int next_channel_number_; | 281 int next_channel_number_; |
282 EntryList entries_; | 282 EntryList entries_; |
283 | 283 |
(...skipping 10 matching lines...) Expand all Loading... |
294 friend class TurnEntry; | 294 friend class TurnEntry; |
295 friend class TurnAllocateRequest; | 295 friend class TurnAllocateRequest; |
296 friend class TurnRefreshRequest; | 296 friend class TurnRefreshRequest; |
297 friend class TurnCreatePermissionRequest; | 297 friend class TurnCreatePermissionRequest; |
298 friend class TurnChannelBindRequest; | 298 friend class TurnChannelBindRequest; |
299 }; | 299 }; |
300 | 300 |
301 } // namespace cricket | 301 } // namespace cricket |
302 | 302 |
303 #endif // WEBRTC_P2P_BASE_TURNPORT_H_ | 303 #endif // WEBRTC_P2P_BASE_TURNPORT_H_ |
OLD | NEW |