| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 part of "dart:io"; | 5 part of dart.io; |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * The [SecureServerSocket] is a server socket, providing a stream of high-level | 8 * The [SecureServerSocket] is a server socket, providing a stream of high-level |
| 9 * [Socket]s. | 9 * [Socket]s. |
| 10 * | 10 * |
| 11 * See [SecureSocket] for more info. | 11 * See [SecureSocket] for more info. |
| 12 */ | 12 */ |
| 13 class SecureServerSocket extends Stream<SecureSocket> { | 13 class SecureServerSocket extends Stream<SecureSocket> { |
| 14 final RawSecureServerSocket _socket; | 14 final RawSecureServerSocket _socket; |
| 15 | 15 |
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 onError: _controller.addError, onDone: _controller.close); | 282 onError: _controller.addError, onDone: _controller.close); |
| 283 } else { | 283 } else { |
| 284 close(); | 284 close(); |
| 285 } | 285 } |
| 286 } | 286 } |
| 287 | 287 |
| 288 void set _owner(owner) { | 288 void set _owner(owner) { |
| 289 (_socket as dynamic)._owner = owner; | 289 (_socket as dynamic)._owner = owner; |
| 290 } | 290 } |
| 291 } | 291 } |
| OLD | NEW |