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

Side by Side Diff: runtime/bin/socket.dart

Issue 8677027: Undo some of the initializing formal change 1755 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/bin/process.dart ('k') | runtime/bin/string_stream.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 interface ServerSocket factory _ServerSocket { 5 interface ServerSocket factory _ServerSocket {
6 /* 6 /*
7 * Constructs a new server socket, binds it to a given address and port, 7 * Constructs a new server socket, binds it to a given address and port,
8 * and listens on it. 8 * and listens on it.
9 */ 9 */
10 ServerSocket(String bindAddress, int port, int backlog); 10 ServerSocket(String bindAddress, int port, int backlog);
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 * and calling it several times is supported. If [halfClose] is true 116 * and calling it several times is supported. If [halfClose] is true
117 * the socket will only be closed for writing and it might still be 117 * the socket will only be closed for writing and it might still be
118 * possible to read data. Calling [close] will not trigger a call to 118 * possible to read data. Calling [close] will not trigger a call to
119 * the [closeHandler]. 119 * the [closeHandler].
120 */ 120 */
121 void close([bool halfClose]); 121 void close([bool halfClose]);
122 } 122 }
123 123
124 124
125 class SocketIOException implements Exception { 125 class SocketIOException implements Exception {
126 const SocketIOException([String message = ""]) 126 const SocketIOException([String this.message = ""]);
127 : this.message = message;
128 String toString() => "SocketIOException: $message"; 127 String toString() => "SocketIOException: $message";
129 128
130 /* 129 /*
131 * Contains the exception message. 130 * Contains the exception message.
132 */ 131 */
133 final String message; 132 final String message;
134 } 133 }
OLDNEW
« no previous file with comments | « runtime/bin/process.dart ('k') | runtime/bin/string_stream.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698