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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 // have this since we now know where to send. | 78 // have this since we now know where to send. |
79 virtual void OnCandidate(const Candidate& candidate); | 79 virtual void OnCandidate(const Candidate& candidate); |
80 | 80 |
81 void OnRemoteAddress(const rtc::SocketAddress& remote_address); | 81 void OnRemoteAddress(const rtc::SocketAddress& remote_address); |
82 | 82 |
83 // Below ICE specific virtual methods not implemented. | 83 // Below ICE specific virtual methods not implemented. |
84 virtual IceRole GetIceRole() const { return ICEROLE_UNKNOWN; } | 84 virtual IceRole GetIceRole() const { return ICEROLE_UNKNOWN; } |
85 virtual void SetIceRole(IceRole role) {} | 85 virtual void SetIceRole(IceRole role) {} |
86 virtual void SetIceTiebreaker(uint64 tiebreaker) {} | 86 virtual void SetIceTiebreaker(uint64 tiebreaker) {} |
87 | 87 |
88 virtual bool GetIceProtocolType(IceProtocolType* type) const { return false; } | |
89 virtual void SetIceProtocolType(IceProtocolType type) {} | |
90 | |
91 virtual void SetIceUfrag(const std::string& ice_ufrag) {} | 88 virtual void SetIceUfrag(const std::string& ice_ufrag) {} |
92 virtual void SetIcePwd(const std::string& ice_pwd) {} | 89 virtual void SetIcePwd(const std::string& ice_pwd) {} |
93 virtual void SetRemoteIceMode(IceMode mode) {} | 90 virtual void SetRemoteIceMode(IceMode mode) {} |
94 virtual size_t GetConnectionCount() const { return 1; } | 91 virtual size_t GetConnectionCount() const { return 1; } |
95 | 92 |
96 virtual bool GetStats(ConnectionInfos* infos) { | 93 virtual bool GetStats(ConnectionInfos* infos) { |
97 return false; | 94 return false; |
98 } | 95 } |
99 | 96 |
100 // DTLS methods. | 97 // DTLS methods. |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 // Handles a message to destroy unused ports. | 188 // Handles a message to destroy unused ports. |
192 virtual void OnMessage(rtc::Message *msg); | 189 virtual void OnMessage(rtc::Message *msg); |
193 | 190 |
194 DISALLOW_COPY_AND_ASSIGN(RawTransportChannel); | 191 DISALLOW_COPY_AND_ASSIGN(RawTransportChannel); |
195 }; | 192 }; |
196 | 193 |
197 } // namespace cricket | 194 } // namespace cricket |
198 | 195 |
199 #endif // defined(FEATURE_ENABLE_PSTN) | 196 #endif // defined(FEATURE_ENABLE_PSTN) |
200 #endif // WEBRTC_P2P_BASE_RAWTRANSPORTCHANNEL_H_ | 197 #endif // WEBRTC_P2P_BASE_RAWTRANSPORTCHANNEL_H_ |
OLD | NEW |