| OLD | NEW |
| 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 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 * Subscribe for services. All previous subscriptions are replaced by the give
n set of services. | 348 * Subscribe for services. All previous subscriptions are replaced by the give
n set of services. |
| 349 * | 349 * |
| 350 * It is an error if any of the elements in the list are not valid services. I
f there is an error, | 350 * It is an error if any of the elements in the list are not valid services. I
f there is an error, |
| 351 * then the current subscriptions will remain unchanged. | 351 * then the current subscriptions will remain unchanged. |
| 352 * | 352 * |
| 353 * @param subscriptions A list of the services being subscribed to. | 353 * @param subscriptions A list of the services being subscribed to. |
| 354 */ | 354 */ |
| 355 public void execution_setSubscriptions(List<String> subscriptions); | 355 public void execution_setSubscriptions(List<String> subscriptions); |
| 356 | 356 |
| 357 /** | 357 /** |
| 358 * Return {@code true} if the socket is open. |
| 359 */ |
| 360 public boolean isSocketOpen(); |
| 361 |
| 362 /** |
| 358 * Remove the given listener from the list of listeners that will receive noti
fication when new | 363 * Remove the given listener from the list of listeners that will receive noti
fication when new |
| 359 * analysis results become available. | 364 * analysis results become available. |
| 360 * | 365 * |
| 361 * @param listener the listener to be removed | 366 * @param listener the listener to be removed |
| 362 */ | 367 */ |
| 363 public void removeAnalysisServerListener(AnalysisServerListener listener); | 368 public void removeAnalysisServerListener(AnalysisServerListener listener); |
| 364 | 369 |
| 365 /** | 370 /** |
| 366 * {@code search.findElementReferences} | 371 * {@code search.findElementReferences} |
| 367 * | 372 * |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 456 * the response to this request has been sent. | 461 * the response to this request has been sent. |
| 457 */ | 462 */ |
| 458 public void server_shutdown(); | 463 public void server_shutdown(); |
| 459 | 464 |
| 460 /** | 465 /** |
| 461 * Start the analysis server. | 466 * Start the analysis server. |
| 462 */ | 467 */ |
| 463 public void start() throws Exception; | 468 public void start() throws Exception; |
| 464 | 469 |
| 465 } | 470 } |
| OLD | NEW |