| 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 18 matching lines...) Expand all Loading... |
| 29 */ | 29 */ |
| 30 public interface AnalysisServer { | 30 public interface AnalysisServer { |
| 31 | 31 |
| 32 /** | 32 /** |
| 33 * Add the given listener to the list of listeners that will receive notificat
ion when new | 33 * Add the given listener to the list of listeners that will receive notificat
ion when new |
| 34 * analysis results become available. | 34 * analysis results become available. |
| 35 * | 35 * |
| 36 * @param listener the listener to be added | 36 * @param listener the listener to be added |
| 37 */ | 37 */ |
| 38 public void addAnalysisServerListener(AnalysisServerListener listener); | 38 public void addAnalysisServerListener(AnalysisServerListener listener); |
| 39 | 39 |
| 40 /** | 40 /** |
| 41 * Add the given listener to the list of listeners that will receive notificat
ion when the server | 41 * Add the given listener to the list of listeners that will receive notificat
ion when the server |
| 42 * is not active | 42 * is not active |
| 43 * | 43 * |
| 44 * @param listener the listener to be added | 44 * @param listener the listener to be added |
| 45 */ | 45 */ |
| 46 public void addStatusListener(AnalysisServerStatusListener listener); | 46 public void addStatusListener(AnalysisServerStatusListener listener); |
| 47 | 47 |
| 48 /** | 48 /** |
| 49 * {@code analysis.getErrors} | 49 * {@code analysis.getErrors} |
| (...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 473 * the response to this request has been sent. | 473 * the response to this request has been sent. |
| 474 */ | 474 */ |
| 475 public void server_shutdown(); | 475 public void server_shutdown(); |
| 476 | 476 |
| 477 /** | 477 /** |
| 478 * Start the analysis server. | 478 * Start the analysis server. |
| 479 */ | 479 */ |
| 480 public void start() throws Exception; | 480 public void start() throws Exception; |
| 481 | 481 |
| 482 } | 482 } |
| OLD | NEW |