| 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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 uint32_t send_ssrc_; | 253 uint32_t send_ssrc_; |
| 254 uint32_t receive_ssrc_; | 254 uint32_t receive_ssrc_; |
| 255 // Control messages that always have to get sent out before any queued | 255 // Control messages that always have to get sent out before any queued |
| 256 // data. | 256 // data. |
| 257 PacketQueue queued_control_data_; | 257 PacketQueue queued_control_data_; |
| 258 PacketQueue queued_received_data_; | 258 PacketQueue queued_received_data_; |
| 259 PacketQueue queued_send_data_; | 259 PacketQueue queued_send_data_; |
| 260 }; | 260 }; |
| 261 | 261 |
| 262 // Define proxy for DataChannelInterface. | 262 // Define proxy for DataChannelInterface. |
| 263 BEGIN_PROXY_MAP(DataChannel) | 263 BEGIN_SIGNALING_PROXY_MAP(DataChannel) |
| 264 PROXY_METHOD1(void, RegisterObserver, DataChannelObserver*) | 264 PROXY_METHOD1(void, RegisterObserver, DataChannelObserver*) |
| 265 PROXY_METHOD0(void, UnregisterObserver) | 265 PROXY_METHOD0(void, UnregisterObserver) |
| 266 PROXY_CONSTMETHOD0(std::string, label) | 266 PROXY_CONSTMETHOD0(std::string, label) |
| 267 PROXY_CONSTMETHOD0(bool, reliable) | 267 PROXY_CONSTMETHOD0(bool, reliable) |
| 268 PROXY_CONSTMETHOD0(bool, ordered) | 268 PROXY_CONSTMETHOD0(bool, ordered) |
| 269 PROXY_CONSTMETHOD0(uint16_t, maxRetransmitTime) | 269 PROXY_CONSTMETHOD0(uint16_t, maxRetransmitTime) |
| 270 PROXY_CONSTMETHOD0(uint16_t, maxRetransmits) | 270 PROXY_CONSTMETHOD0(uint16_t, maxRetransmits) |
| 271 PROXY_CONSTMETHOD0(std::string, protocol) | 271 PROXY_CONSTMETHOD0(std::string, protocol) |
| 272 PROXY_CONSTMETHOD0(bool, negotiated) | 272 PROXY_CONSTMETHOD0(bool, negotiated) |
| 273 PROXY_CONSTMETHOD0(int, id) | 273 PROXY_CONSTMETHOD0(int, id) |
| 274 PROXY_CONSTMETHOD0(DataState, state) | 274 PROXY_CONSTMETHOD0(DataState, state) |
| 275 PROXY_CONSTMETHOD0(uint64_t, buffered_amount) | 275 PROXY_CONSTMETHOD0(uint64_t, buffered_amount) |
| 276 PROXY_METHOD0(void, Close) | 276 PROXY_METHOD0(void, Close) |
| 277 PROXY_METHOD1(bool, Send, const DataBuffer&) | 277 PROXY_METHOD1(bool, Send, const DataBuffer&) |
| 278 END_PROXY() | 278 END_SIGNALING_PROXY() |
| 279 | 279 |
| 280 } // namespace webrtc | 280 } // namespace webrtc |
| 281 | 281 |
| 282 #endif // WEBRTC_API_DATACHANNEL_H_ | 282 #endif // WEBRTC_API_DATACHANNEL_H_ |
| OLD | NEW |