OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2015 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 |
11 #import "RTCDataChannelConfiguration+Private.h" | 11 #import "PeerConnection/RTCDataChannelConfiguration+Private.h" |
12 | 12 |
13 #import "NSString+StdString.h" | 13 #import "Common/NSString+StdString.h" |
14 | 14 |
15 @implementation RTCDataChannelConfiguration | 15 @implementation RTCDataChannelConfiguration |
16 | 16 |
17 @synthesize nativeDataChannelInit = _nativeDataChannelInit; | 17 @synthesize nativeDataChannelInit = _nativeDataChannelInit; |
18 | 18 |
19 - (BOOL)isOrdered { | 19 - (BOOL)isOrdered { |
20 return _nativeDataChannelInit.ordered; | 20 return _nativeDataChannelInit.ordered; |
21 } | 21 } |
22 | 22 |
23 - (void)setIsOrdered:(BOOL)isOrdered { | 23 - (void)setIsOrdered:(BOOL)isOrdered { |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 | 74 |
75 - (int)channelId { | 75 - (int)channelId { |
76 return _nativeDataChannelInit.id; | 76 return _nativeDataChannelInit.id; |
77 } | 77 } |
78 | 78 |
79 - (void)setChannelId:(int)channelId { | 79 - (void)setChannelId:(int)channelId { |
80 _nativeDataChannelInit.id = channelId; | 80 _nativeDataChannelInit.id = channelId; |
81 } | 81 } |
82 | 82 |
83 @end | 83 @end |
OLD | NEW |