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) { |