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

Unified Diff: runtime/bin/socket.dart

Issue 10872033: Change getters syntax in dart:io library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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
« no previous file with comments | « runtime/bin/process_impl.dart ('k') | runtime/bin/socket_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/socket.dart
diff --git a/runtime/bin/socket.dart b/runtime/bin/socket.dart
index e26694d0b5ea03deaf0acdddea08efbabaf1a959..86d5e5f26537728db7f4d8e91c31dae78be5b424 100644
--- a/runtime/bin/socket.dart
+++ b/runtime/bin/socket.dart
@@ -23,7 +23,7 @@ interface ServerSocket default _ServerSocket {
/**
* Returns the port used by this socket.
*/
- int get port();
+ int get port;
/**
* Closes the socket.
@@ -96,27 +96,27 @@ interface Socket extends Hashable default _Socket {
/**
* Returns input stream to the socket.
*/
- InputStream get inputStream();
+ InputStream get inputStream;
/**
* Returns output stream of the socket.
*/
- OutputStream get outputStream();
+ OutputStream get outputStream;
/**
* Returns the port used by this socket.
*/
- int get port();
+ int get port;
/**
* Returns the remote port connected to by this socket.
*/
- int get remotePort();
+ int get remotePort;
/**
* Returns the remote host connected to by this socket.
*/
- String get remoteHost();
+ String get remoteHost;
/**
* Closes the socket. Calling [close] will never throw an exception
« no previous file with comments | « runtime/bin/process_impl.dart ('k') | runtime/bin/socket_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698