| 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 void UpdateConnectionStates(); | 165 void UpdateConnectionStates(); |
| 166 void RequestSort(); | 166 void RequestSort(); |
| 167 void SortConnections(); | 167 void SortConnections(); |
| 168 void SwitchBestConnectionTo(Connection* conn); | 168 void SwitchBestConnectionTo(Connection* conn); |
| 169 void UpdateChannelState(); | 169 void UpdateChannelState(); |
| 170 void HandleWritable(); | 170 void HandleWritable(); |
| 171 void HandleNotWritable(); | 171 void HandleNotWritable(); |
| 172 void HandleAllTimedOut(); | 172 void HandleAllTimedOut(); |
| 173 | 173 |
| 174 Connection* GetBestConnectionOnNetwork(rtc::Network* network) const; | 174 Connection* GetBestConnectionOnNetwork(rtc::Network* network) const; |
| 175 bool CreateConnections(const Candidate &remote_candidate, | 175 bool CreateConnections(const Candidate& remote_candidate, |
| 176 PortInterface* origin_port, bool readable); | 176 PortInterface* origin_port); |
| 177 bool CreateConnection(PortInterface* port, const Candidate& remote_candidate, | 177 bool CreateConnection(PortInterface* port, |
| 178 PortInterface* origin_port, bool readable); | 178 const Candidate& remote_candidate, |
| 179 PortInterface* origin_port); |
| 179 bool FindConnection(cricket::Connection* connection) const; | 180 bool FindConnection(cricket::Connection* connection) const; |
| 180 | 181 |
| 181 uint32 GetRemoteCandidateGeneration(const Candidate& candidate); | 182 uint32 GetRemoteCandidateGeneration(const Candidate& candidate); |
| 182 bool IsDuplicateRemoteCandidate(const Candidate& candidate); | 183 bool IsDuplicateRemoteCandidate(const Candidate& candidate); |
| 183 void RememberRemoteCandidate(const Candidate& remote_candidate, | 184 void RememberRemoteCandidate(const Candidate& remote_candidate, |
| 184 PortInterface* origin_port); | 185 PortInterface* origin_port); |
| 185 bool IsPingable(Connection* conn); | 186 bool IsPingable(Connection* conn); |
| 186 void PingConnection(Connection* conn); | 187 void PingConnection(Connection* conn); |
| 187 void AddAllocatorSession(PortAllocatorSession* session); | 188 void AddAllocatorSession(PortAllocatorSession* session); |
| 188 void AddConnection(Connection* connection); | 189 void AddConnection(Connection* connection); |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 | 248 |
| 248 int check_receiving_delay_; | 249 int check_receiving_delay_; |
| 249 int receiving_timeout_; | 250 int receiving_timeout_; |
| 250 | 251 |
| 251 RTC_DISALLOW_COPY_AND_ASSIGN(P2PTransportChannel); | 252 RTC_DISALLOW_COPY_AND_ASSIGN(P2PTransportChannel); |
| 252 }; | 253 }; |
| 253 | 254 |
| 254 } // namespace cricket | 255 } // namespace cricket |
| 255 | 256 |
| 256 #endif // WEBRTC_P2P_BASE_P2PTRANSPORTCHANNEL_H_ | 257 #endif // WEBRTC_P2P_BASE_P2PTRANSPORTCHANNEL_H_ |
| OLD | NEW |