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

Unified Diff: pkg/analysis_server/lib/src/analysis_manager.dart

Issue 182903005: split client and server channels (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: address comments Created 6 years, 10 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 | « pkg/analysis_server/lib/http_server.dart ('k') | pkg/analysis_server/lib/src/analysis_server.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/analysis_manager.dart
diff --git a/pkg/analysis_server/lib/src/analysis_manager.dart b/pkg/analysis_server/lib/src/analysis_manager.dart
index 0f394e06930fc92e684eeb21e17f0392b348c1fb..15f1e6babeb07855551e07bc0f5b6d54fe4fd345 100644
--- a/pkg/analysis_server/lib/src/analysis_manager.dart
+++ b/pkg/analysis_server/lib/src/analysis_manager.dart
@@ -26,7 +26,7 @@ class AnalysisManager {
/**
* The channel used to communicate with the analysis server.
*/
- CommunicationChannel channel;
+ ClientCommunicationChannel channel;
/**
* Launch analysis server in a separate process
@@ -100,7 +100,7 @@ class AnalysisManager {
return WebSocket.connect(serverUrl)
.catchError(onError)
.then((WebSocket socket) {
- this.channel = new WebSocketChannel(socket);
+ this.channel = new WebSocketClientChannel(socket);
return this;
});
} catch (error) {
« no previous file with comments | « pkg/analysis_server/lib/http_server.dart ('k') | pkg/analysis_server/lib/src/analysis_server.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698