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 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 throw new UnsupportedError("NetworkInterface.list"); | 352 throw new UnsupportedError("NetworkInterface.list"); |
353 } | 353 } |
354 } | 354 } |
355 | 355 |
356 @patch | 356 @patch |
357 class RawServerSocket { | 357 class RawServerSocket { |
358 @patch | 358 @patch |
359 static Future<RawServerSocket> bind(address, | 359 static Future<RawServerSocket> bind(address, |
360 int port, | 360 int port, |
361 {int backlog: 0, | 361 {int backlog: 0, |
362 bool v6Only: false}) { | 362 bool v6Only: false, |
| 363 bool shared: false}) { |
363 throw new UnsupportedError("RawServerSocket.bind"); | 364 throw new UnsupportedError("RawServerSocket.bind"); |
364 } | 365 } |
365 } | 366 } |
366 | 367 |
367 @patch | 368 @patch |
368 class ServerSocket { | 369 class ServerSocket { |
369 @patch | 370 @patch |
370 static Future<ServerSocket> bind(address, | 371 static Future<ServerSocket> bind(address, |
371 int port, | 372 int port, |
372 {int backlog: 0, | 373 {int backlog: 0, |
373 bool v6Only: false}) { | 374 bool v6Only: false, |
| 375 bool shared: false}) { |
374 throw new UnsupportedError("ServerSocket.bind"); | 376 throw new UnsupportedError("ServerSocket.bind"); |
375 } | 377 } |
376 } | 378 } |
377 | 379 |
378 @patch | 380 @patch |
379 class RawSocket { | 381 class RawSocket { |
380 @patch | 382 @patch |
381 static Future<RawSocket> connect(host, int port, {sourceAddress}) { | 383 static Future<RawSocket> connect(host, int port, {sourceAddress}) { |
382 throw new UnsupportedError("RawSocket constructor"); | 384 throw new UnsupportedError("RawSocket constructor"); |
383 } | 385 } |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
528 } | 530 } |
529 } | 531 } |
530 | 532 |
531 @patch | 533 @patch |
532 class _IOService { | 534 class _IOService { |
533 @patch | 535 @patch |
534 static Future _dispatch(int request, List data) { | 536 static Future _dispatch(int request, List data) { |
535 throw new UnsupportedError("_IOService._dispatch"); | 537 throw new UnsupportedError("_IOService._dispatch"); |
536 } | 538 } |
537 } | 539 } |
OLD | NEW |