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

Unified Diff: pkg/analysis_server/lib/driver.dart

Issue 236133013: Allow the analysis server to connect to the client over stdio. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | « no previous file | pkg/analysis_server/lib/stdio_server.dart » ('j') | pkg/analysis_server/lib/stdio_server.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/driver.dart
diff --git a/pkg/analysis_server/lib/driver.dart b/pkg/analysis_server/lib/driver.dart
index 5fccb9d5d8ae5a71f99bdb328b6d82857acba3d7..58fd5ea0b02c3ec808bcca76f97110692c6b2cc8 100644
--- a/pkg/analysis_server/lib/driver.dart
+++ b/pkg/analysis_server/lib/driver.dart
@@ -8,6 +8,7 @@ import 'dart:io';
import 'package:analysis_server/http_server.dart';
import 'package:analysis_server/src/socket_server.dart';
+import 'package:analysis_server/stdio_server.dart';
import 'package:args/args.dart';
/**
@@ -36,8 +37,11 @@ class Driver {
HttpAnalysisServer httpServer;
+ StdioAnalysisServer stdioServer;
+
Driver() {
httpServer = new HttpAnalysisServer(socketServer);
+ stdioServer = new StdioAnalysisServer(socketServer);
}
/**
@@ -74,6 +78,7 @@ class Driver {
exitCode = 1;
return;
}
+ stdioServer.serveStdio();
}
/**
« no previous file with comments | « no previous file | pkg/analysis_server/lib/stdio_server.dart » ('j') | pkg/analysis_server/lib/stdio_server.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698