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

Unified Diff: runtime/bin/socket_impl.dart

Issue 10115005: Static members are not visible in subclasses (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 8 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 | « lib/dartdoc/block_parser.dart ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/socket_impl.dart
===================================================================
--- runtime/bin/socket_impl.dart (revision 6697)
+++ runtime/bin/socket_impl.dart (working copy)
@@ -282,7 +282,7 @@
void set onConnection(void callback(Socket connection)) {
_clientConnectionHandler = callback;
- _setHandler(_IN_EVENT,
+ _setHandler(_SocketBase._IN_EVENT,
_clientConnectionHandler != null ? _connectionHandler : null);
}
@@ -483,8 +483,8 @@
InputStream get inputStream() {
if (_inputStream == null) {
- if (_handlerMap[_IN_EVENT] !== null ||
- _handlerMap[_CLOSE_EVENT] !== null) {
+ if (_handlerMap[_SocketBase._IN_EVENT] !== null ||
+ _handlerMap[_SocketBase._CLOSE_EVENT] !== null) {
throw new StreamException(
"Cannot get input stream when socket handlers are used");
}
@@ -495,7 +495,7 @@
OutputStream get outputStream() {
if (_outputStream == null) {
- if (_handlerMap[_OUT_EVENT] !== null) {
+ if (_handlerMap[_SocketBase._OUT_EVENT] !== null) {
throw new StreamException(
"Cannot get input stream when socket handlers are used");
}
@@ -505,15 +505,15 @@
}
void set _onWrite(void callback()) {
- _setHandler(_OUT_EVENT, callback);
+ _setHandler(_SocketBase._OUT_EVENT, callback);
}
void set _onData(void callback()) {
- _setHandler(_IN_EVENT, callback);
+ _setHandler(_SocketBase._IN_EVENT, callback);
}
void set _onClosed(void callback()) {
- _setHandler(_CLOSE_EVENT, callback);
+ _setHandler(_SocketBase._CLOSE_EVENT, callback);
}
void _propagateError(Exception e) {
« no previous file with comments | « lib/dartdoc/block_parser.dart ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698