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

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

Issue 8502011: Rephrase some comments. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month 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
« runtime/bin/directory.dart ('K') | « runtime/bin/input_stream.dart ('k') | no next file » | 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 /** 5 /**
6 * Output is written to a given output stream. Such an output stream can 6 * Output is written to a given output stream. Such an output stream can
7 * be an endpoint, e.g., a socket or a file, or another output stream. 7 * be an endpoint, e.g., a socket or a file, or another output stream.
8 * Multiple output streams can be chained together to operate collaboratively 8 * Multiple output streams can be chained together to operate collaboratively
9 * on a given output. 9 * on a given output.
10 * 10 *
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 */ 45 */
46 void close(); 46 void close();
47 47
48 /** 48 /**
49 * Close the communication channel immediately ignoring any buffered 49 * Close the communication channel immediately ignoring any buffered
50 * data. 50 * data.
51 */ 51 */
52 void destroy(); 52 void destroy();
53 53
54 /** 54 /**
55 * The no pending write handler gets called when the internal OS 55 * Sets the handler that gets called when the internal OS buffers
56 * buffers have been flushed. This callback can be used to keep the 56 * have been flushed. This callback can be used to keep the rate of
57 * rate of writing in sync with the rate the system can write data 57 * writing in sync with the rate the system can write data to the
58 * to the underlying communication channel. 58 * underlying communication channel.
59 */ 59 */
60 void set noPendingWriteHandler(void callback()); 60 void set noPendingWriteHandler(void callback());
61 61
62 /* 62 /*
63 * The close handler gets called when the underlying communication 63 * Sets the handler that gets called when the underlying
64 * channel has been closed. 64 * communication channel has been closed and no more data can be
65 * send.
65 */ 66 */
66 void set closeHandler(void callback()); 67 void set closeHandler(void callback());
67 68
68 /** 69 /**
69 * The error handler gets called when the underlying communication 70 * Sets the handler that gets called when the underlying
70 * channel gets into some kind of error situation. 71 * communication channel gets into some kind of error situation.
71 */ 72 */
72 void set errorHandler(void callback()); 73 void set errorHandler(void callback());
73 } 74 }
74 75
OLDNEW
« runtime/bin/directory.dart ('K') | « runtime/bin/input_stream.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698