Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: ca37cd1afc5c2700b8f3d4f5107811e4e0958f7c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/********************************************************************************
 * Copyright (c) 2008 Motorola Inc. All rights reserved.
 * This program and the accompanying materials are made available under the terms
 * of the Eclipse Public License v1.0 which accompanies this distribution, and is
 * available at http://www.eclipse.org/legal/epl-v10.html
 *
 * Initial Contributor:
 * Otavio Ferranti (Motorola)
 *
 * Contributors:
 * Otavio Ferranti - Eldorado Research Institute - Bug 255255 [tml][proctools] Add extension points 
 ********************************************************************************/

package org.eclipse.tml.linuxtools.tools;

import java.util.List;

import org.eclipse.tml.linuxtools.utilities.ProtocolDescriptor;

/**
 * @author Otavio Ferranti
 */
public interface ITool extends INotifier {

	/**
	 * 
	 */
	public void disconnect();

	/**
	 * @param host
	 * @param port
	 * @param protocol
	 * @param viewer
	 */
	public void connect(String host, int port, ProtocolDescriptor protocol);

	/**
	 * @param user
	 * @param password
	 */
	public void login(String user, String password);
	
	/**
     *
	 */
	public List<ProtocolDescriptor> getProtocolsDescriptors();
	
	/**
	 * @param delay
	 */
	public int getRefreshDelay();

	/**
	 * 
	 */
	public void refresh();
	
	/**
	 * @param delay
	 */
	public void setRefreshDelay(int delay);
	
	/**
	 * 
	 */
	public void start();
	
	/**
	 * 
	 */
	public void stop ();
	
}

Back to the top