Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2437)

Unified Diff: sdk/lib/io/socket.dart

Issue 1072783003: Remove server socket references (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/io/socket.dart
diff --git a/sdk/lib/io/socket.dart b/sdk/lib/io/socket.dart
index a759598def0bc35786ffb83ada29ac917d265fdc..64191810b7ce1f978d9dd6386a09af7722880c49 100644
--- a/sdk/lib/io/socket.dart
+++ b/sdk/lib/io/socket.dart
@@ -253,41 +253,6 @@ abstract class RawServerSocket implements Stream<RawSocket> {
* is fully closed and is no longer bound.
*/
Future<RawServerSocket> close();
-
- /**
- * Get the [RawServerSocketReference].
- *
- * WARNING: This feature is *highly experimental* and currently only
- * works on Linux. The API will be removed in Dart 1.10. Use the
- * `shared` optional argument on the `bind` method instead.
- *
- * The returned [RawServerSocketReference] can be used to create other
- * [RawServerSocket]s listening on the same port,
- * using [RawServerSocketReference.create].
- * Incoming connections on the port will be distributed fairly between the
- * active server sockets.
- * The [RawServerSocketReference] can be distributed to other isolates through
- * a [RawSendPort].
- */
-
- @Deprecated('This will be removed in Dart 1.10. Use the '
- '`shared` optional argument on the `bind` method instead.')
- RawServerSocketReference get reference;
-}
-
-
-/**
- * A [RawServerSocketReference].
- *
- * WARNING: This class is used with [RawServerSocket.reference] which is highly
- * experimental.
- */
-@Deprecated('This will be removed in Dart 1.10.')
-abstract class RawServerSocketReference {
- /**
- * Create a new [RawServerSocket], from this reference.
- */
- Future<RawServerSocket> create();
}
@@ -358,40 +323,6 @@ abstract class ServerSocket implements Stream<Socket> {
* is fully closed and is no longer bound.
*/
Future<ServerSocket> close();
-
- /**
- * Get the [ServerSocketReference].
- *
- * WARNING: This feature is *highly experimental* and currently only
- * works on Linux. The API will be removed in Dart 1.10. Use the
- * `shared` optional argument on the `bind` method instead.
- *
- * The returned [ServerSocketReference] can be used to create other
- * [ServerSocket]s listening on the same port,
- * using [ServerSocketReference.create].
- * Incoming connections on the port will be distributed fairly between the
- * active server sockets.
- * The [ServerSocketReference] can be distributed to other isolates through a
- * [SendPort].
- */
- @Deprecated('This will be removed in Dart 1.10. Use the '
- '`shared` optional argument on the `bind` method instead.')
- ServerSocketReference get reference;
-}
-
-
-/**
- * A [ServerSocketReference].
- *
- * WARNING: This class is used with [ServerSocket.reference] which is highly
- * experimental.
- */
-@Deprecated('This will be removed in Dart 1.10.')
-abstract class ServerSocketReference {
- /**
- * Create a new [ServerSocket], from this reference.
- */
- Future<ServerSocket> create();
}
« no previous file with comments | « runtime/bin/socket_patch.dart ('k') | tests/standalone/io/server_socket_reference_issue21383_and_issue21384_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698