| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2011 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2011 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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 private: | 209 private: |
| 210 void OnWritableState(rtc::PacketTransportInterface* transport); | 210 void OnWritableState(rtc::PacketTransportInterface* transport); |
| 211 void OnReadPacket(rtc::PacketTransportInterface* transport, | 211 void OnReadPacket(rtc::PacketTransportInterface* transport, |
| 212 const char* data, | 212 const char* data, |
| 213 size_t size, | 213 size_t size, |
| 214 const rtc::PacketTime& packet_time, | 214 const rtc::PacketTime& packet_time, |
| 215 int flags); | 215 int flags); |
| 216 void OnSentPacket(rtc::PacketTransportInterface* transport, | 216 void OnSentPacket(rtc::PacketTransportInterface* transport, |
| 217 const rtc::SentPacket& sent_packet); | 217 const rtc::SentPacket& sent_packet); |
| 218 void OnReadyToSend(rtc::PacketTransportInterface* transport); | 218 void OnReadyToSend(rtc::PacketTransportInterface* transport); |
| 219 void OnReceivingState(TransportChannel* channel); | 219 void OnReceivingState(rtc::PacketTransportInterface* transport); |
| 220 void OnDtlsEvent(rtc::StreamInterface* stream_, int sig, int err); | 220 void OnDtlsEvent(rtc::StreamInterface* stream_, int sig, int err); |
| 221 bool SetupDtls(); | 221 bool SetupDtls(); |
| 222 void MaybeStartDtls(); | 222 void MaybeStartDtls(); |
| 223 bool HandleDtlsPacket(const char* data, size_t size); | 223 bool HandleDtlsPacket(const char* data, size_t size); |
| 224 void OnGatheringState(TransportChannelImpl* channel); | 224 void OnGatheringState(TransportChannelImpl* channel); |
| 225 void OnCandidateGathered(TransportChannelImpl* channel, const Candidate& c); | 225 void OnCandidateGathered(TransportChannelImpl* channel, const Candidate& c); |
| 226 void OnCandidatesRemoved(TransportChannelImpl* channel, | 226 void OnCandidatesRemoved(TransportChannelImpl* channel, |
| 227 const Candidates& candidates); | 227 const Candidates& candidates); |
| 228 void OnRoleConflict(TransportChannelImpl* channel); | 228 void OnRoleConflict(TransportChannelImpl* channel); |
| 229 void OnRouteChange(TransportChannel* channel, const Candidate& candidate); | 229 void OnRouteChange(TransportChannel* channel, const Candidate& candidate); |
| (...skipping 23 matching lines...) Expand all Loading... |
| 253 // transport channel became writable, or before a remote fingerprint was | 253 // transport channel became writable, or before a remote fingerprint was |
| 254 // received. | 254 // received. |
| 255 rtc::Buffer cached_client_hello_; | 255 rtc::Buffer cached_client_hello_; |
| 256 | 256 |
| 257 RTC_DISALLOW_COPY_AND_ASSIGN(DtlsTransportChannelWrapper); | 257 RTC_DISALLOW_COPY_AND_ASSIGN(DtlsTransportChannelWrapper); |
| 258 }; | 258 }; |
| 259 | 259 |
| 260 } // namespace cricket | 260 } // namespace cricket |
| 261 | 261 |
| 262 #endif // WEBRTC_P2P_BASE_DTLSTRANSPORTCHANNEL_H_ | 262 #endif // WEBRTC_P2P_BASE_DTLSTRANSPORTCHANNEL_H_ |
| OLD | NEW |