| 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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 uint32_t receive_ssrc_; | 265 uint32_t receive_ssrc_; |
| 266 // Control messages that always have to get sent out before any queued | 266 // Control messages that always have to get sent out before any queued |
| 267 // data. | 267 // data. |
| 268 PacketQueue queued_control_data_; | 268 PacketQueue queued_control_data_; |
| 269 PacketQueue queued_received_data_; | 269 PacketQueue queued_received_data_; |
| 270 PacketQueue queued_send_data_; | 270 PacketQueue queued_send_data_; |
| 271 }; | 271 }; |
| 272 | 272 |
| 273 // Define proxy for DataChannelInterface. | 273 // Define proxy for DataChannelInterface. |
| 274 BEGIN_SIGNALING_PROXY_MAP(DataChannel) | 274 BEGIN_SIGNALING_PROXY_MAP(DataChannel) |
| 275 PROXY_SIGNALING_THREAD_DESTRUCTOR() |
| 275 PROXY_METHOD1(void, RegisterObserver, DataChannelObserver*) | 276 PROXY_METHOD1(void, RegisterObserver, DataChannelObserver*) |
| 276 PROXY_METHOD0(void, UnregisterObserver) | 277 PROXY_METHOD0(void, UnregisterObserver) |
| 277 PROXY_CONSTMETHOD0(std::string, label) | 278 PROXY_CONSTMETHOD0(std::string, label) |
| 278 PROXY_CONSTMETHOD0(bool, reliable) | 279 PROXY_CONSTMETHOD0(bool, reliable) |
| 279 PROXY_CONSTMETHOD0(bool, ordered) | 280 PROXY_CONSTMETHOD0(bool, ordered) |
| 280 PROXY_CONSTMETHOD0(uint16_t, maxRetransmitTime) | 281 PROXY_CONSTMETHOD0(uint16_t, maxRetransmitTime) |
| 281 PROXY_CONSTMETHOD0(uint16_t, maxRetransmits) | 282 PROXY_CONSTMETHOD0(uint16_t, maxRetransmits) |
| 282 PROXY_CONSTMETHOD0(std::string, protocol) | 283 PROXY_CONSTMETHOD0(std::string, protocol) |
| 283 PROXY_CONSTMETHOD0(bool, negotiated) | 284 PROXY_CONSTMETHOD0(bool, negotiated) |
| 284 PROXY_CONSTMETHOD0(int, id) | 285 PROXY_CONSTMETHOD0(int, id) |
| 285 PROXY_CONSTMETHOD0(DataState, state) | 286 PROXY_CONSTMETHOD0(DataState, state) |
| 286 PROXY_CONSTMETHOD0(uint32_t, messages_sent) | 287 PROXY_CONSTMETHOD0(uint32_t, messages_sent) |
| 287 PROXY_CONSTMETHOD0(uint64_t, bytes_sent) | 288 PROXY_CONSTMETHOD0(uint64_t, bytes_sent) |
| 288 PROXY_CONSTMETHOD0(uint32_t, messages_received) | 289 PROXY_CONSTMETHOD0(uint32_t, messages_received) |
| 289 PROXY_CONSTMETHOD0(uint64_t, bytes_received) | 290 PROXY_CONSTMETHOD0(uint64_t, bytes_received) |
| 290 PROXY_CONSTMETHOD0(uint64_t, buffered_amount) | 291 PROXY_CONSTMETHOD0(uint64_t, buffered_amount) |
| 291 PROXY_METHOD0(void, Close) | 292 PROXY_METHOD0(void, Close) |
| 292 PROXY_METHOD1(bool, Send, const DataBuffer&) | 293 PROXY_METHOD1(bool, Send, const DataBuffer&) |
| 293 END_SIGNALING_PROXY() | 294 END_PROXY_MAP() |
| 294 | 295 |
| 295 } // namespace webrtc | 296 } // namespace webrtc |
| 296 | 297 |
| 297 #endif // WEBRTC_API_DATACHANNEL_H_ | 298 #endif // WEBRTC_API_DATACHANNEL_H_ |
| OLD | NEW |