OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 import 'dart:_js_helper' show patch; | 5 import 'dart:_js_helper' show patch; |
6 | 6 |
7 @patch | 7 @patch |
8 class _Directory { | 8 class _Directory { |
9 @patch | 9 @patch |
10 static _current() { | 10 static _current() { |
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
346 throw new UnsupportedError("NetworkInterface.list"); | 346 throw new UnsupportedError("NetworkInterface.list"); |
347 } | 347 } |
348 } | 348 } |
349 | 349 |
350 @patch | 350 @patch |
351 class RawServerSocket { | 351 class RawServerSocket { |
352 @patch | 352 @patch |
353 static Future<RawServerSocket> bind(address, | 353 static Future<RawServerSocket> bind(address, |
354 int port, | 354 int port, |
355 {int backlog: 0, | 355 {int backlog: 0, |
356 bool v6Only: false}) { | 356 bool v6Only: false, |
| 357 bool shared: false}) { |
357 throw new UnsupportedError("RawServerSocket.bind"); | 358 throw new UnsupportedError("RawServerSocket.bind"); |
358 } | 359 } |
359 } | 360 } |
360 | 361 |
361 @patch | 362 @patch |
362 class ServerSocket { | 363 class ServerSocket { |
363 @patch | 364 @patch |
364 static Future<ServerSocket> bind(address, | 365 static Future<ServerSocket> bind(address, |
365 int port, | 366 int port, |
366 {int backlog: 0, | 367 {int backlog: 0, |
367 bool v6Only: false}) { | 368 bool v6Only: false, |
| 369 bool shared: false}) { |
368 throw new UnsupportedError("ServerSocket.bind"); | 370 throw new UnsupportedError("ServerSocket.bind"); |
369 } | 371 } |
370 } | 372 } |
371 | 373 |
372 @patch | 374 @patch |
373 class RawSocket { | 375 class RawSocket { |
374 @patch | 376 @patch |
375 static Future<RawSocket> connect(host, int port) { | 377 static Future<RawSocket> connect(host, int port) { |
376 throw new UnsupportedError("RawSocket constructor"); | 378 throw new UnsupportedError("RawSocket constructor"); |
377 } | 379 } |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 } | 524 } |
523 } | 525 } |
524 | 526 |
525 @patch | 527 @patch |
526 class _IOService { | 528 class _IOService { |
527 @patch | 529 @patch |
528 static Future _dispatch(int request, List data) { | 530 static Future _dispatch(int request, List data) { |
529 throw new UnsupportedError("_IOService._dispatch"); | 531 throw new UnsupportedError("_IOService._dispatch"); |
530 } | 532 } |
531 } | 533 } |
OLD | NEW |