OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013, the Dart project authors. | 2 * Copyright (c) 2013, 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 |
11 * or implied. See the License for the specific language governing permissions a
nd limitations under | 11 * or implied. See the License for the specific language governing permissions a
nd limitations under |
12 * the License. | 12 * the License. |
13 */ | 13 */ |
14 | 14 |
15 package com.google.dart.tools.debug.core.util; | 15 package com.google.dart.tools.debug.core.util; |
16 | 16 |
17 import org.eclipse.core.resources.IFile; | 17 import org.eclipse.core.resources.IContainer; |
18 import org.eclipse.core.runtime.CoreException; | 18 import org.eclipse.core.runtime.CoreException; |
19 import org.eclipse.core.runtime.IProgressMonitor; | 19 import org.eclipse.core.runtime.IProgressMonitor; |
20 import org.eclipse.debug.core.model.IDebugTarget; | 20 import org.eclipse.debug.core.model.IDebugTarget; |
21 import org.eclipse.debug.core.model.ILaunchConfigurationDelegate; | 21 import org.eclipse.debug.core.model.ILaunchConfigurationDelegate; |
22 | 22 |
23 /** | 23 /** |
24 * A ILaunchConfigurationDelegate that can connect to remote debug agents. | 24 * A ILaunchConfigurationDelegate that can connect to remote debug agents. |
25 */ | 25 */ |
26 public interface IRemoteConnectionDelegate extends ILaunchConfigurationDelegate
{ | 26 public interface IRemoteConnectionDelegate extends ILaunchConfigurationDelegate
{ |
27 | |
28 /** | 27 /** |
29 * Open a debug connection to a remote host. | 28 * Open a debug connection to a remote host. |
30 * | 29 * |
31 * @param host | 30 * @param host |
32 * @param port | 31 * @param port |
33 * @param file | 32 * @param container |
34 * @param monitor | 33 * @param monitor |
35 * @param usePubServe | 34 * @param usePubServe |
36 * @throws CoreException | 35 * @throws CoreException |
37 */ | 36 */ |
38 public IDebugTarget performRemoteConnection(String host, int port, IFile file, | 37 public IDebugTarget performRemoteConnection(String host, int port, IContainer
container, |
39 IProgressMonitor monitor, boolean usePubServe) throws CoreException; | 38 IProgressMonitor monitor, boolean usePubServe) throws CoreException; |
40 | 39 |
41 } | 40 } |
OLD | NEW |