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

Side by Side Diff: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/AnalysisServerSocket.java

Issue 845973006: Addition of AnalysisServer.isSocketOpen for clients to know if the server is still running. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014, the Dart project authors. 2 * Copyright (c) 2014, the Dart project authors.
3 * 3 *
4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u se this file except 4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u se this file except
5 * in compliance with the License. You may obtain a copy of the License at 5 * in compliance with the License. You may obtain a copy of the License at
6 * 6 *
7 * http://www.eclipse.org/legal/epl-v10.html 7 * http://www.eclipse.org/legal/epl-v10.html
8 * 8 *
9 * Unless required by applicable law or agreed to in writing, software distribut ed under the License 9 * Unless required by applicable law or agreed to in writing, software distribut ed under the License
10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K IND, either express 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K IND, either express
(...skipping 22 matching lines...) Expand all
33 * Return the request sink. 33 * Return the request sink.
34 */ 34 */
35 RequestSink getRequestSink(); 35 RequestSink getRequestSink();
36 36
37 /** 37 /**
38 * Return the response stream. 38 * Return the response stream.
39 */ 39 */
40 ResponseStream getResponseStream(); 40 ResponseStream getResponseStream();
41 41
42 /** 42 /**
43 * Return {@code true} if the socket is open.
44 */
45 boolean isOpen();
46
47 /**
43 * Start the remote server and initialize request sink and response stream. 48 * Start the remote server and initialize request sink and response stream.
44 */ 49 */
45 void start() throws Exception; 50 void start() throws Exception;
46 51
47 /** 52 /**
48 * Stop the remote server. 53 * Stop the remote server.
49 */ 54 */
50 void stop(); 55 void stop();
51 } 56 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698