Commit | Line | Data |
---|---|---|
eb1bab5b BH |
1 | /********************************************************************** |
2 | * Copyright (c) 2012 Ericsson | |
3 | * | |
4 | * All rights reserved. This program and the accompanying materials are | |
5 | * made available under the terms of the Eclipse Public License v1.0 which | |
6 | * accompanies this distribution, and is available at | |
7 | * http://www.eclipse.org/legal/epl-v10.html | |
8 | * | |
9 | * Contributors: | |
10 | * Bernd Hufmann - Initial API and implementation | |
11 | **********************************************************************/ | |
12 | package org.eclipse.linuxtools.lttng.ui.views.control.dialogs; | |
13 | ||
14 | /** | |
15 | * <b><u>INewConnectionDialog</u></b> | |
16 | * <p> | |
17 | * Interface for connection information dialog. | |
18 | * </p> | |
19 | */ | |
20 | public interface INewConnectionDialog { | |
21 | ||
22 | // ------------------------------------------------------------------------ | |
23 | // Accessors | |
24 | // ------------------------------------------------------------------------ | |
25 | /** | |
bbb3538a | 26 | * @return the connection name (alias). |
eb1bab5b | 27 | */ |
bbb3538a | 28 | public String getConnectionName(); |
eb1bab5b BH |
29 | |
30 | /** | |
bbb3538a | 31 | * @return the host name (IP address or DNS name) |
eb1bab5b | 32 | */ |
bbb3538a | 33 | public String getHostName(); |
eb1bab5b BH |
34 | |
35 | // ------------------------------------------------------------------------ | |
36 | // Operations | |
37 | // ------------------------------------------------------------------------ | |
38 | /** | |
39 | * @return returns the open return value | |
40 | */ | |
41 | int open(); | |
42 | } |