lttng: Add a diagram showing the dependencies between plugins
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.ui / src / org / eclipse / linuxtools / internal / lttng2 / ui / views / control / dialogs / INewConnectionDialog.java
index 52e0919ba6cf3d702340cfc33b59aaa9b61f25a9..fcbaed371071069b9f40c76ebe5b79e941218bcc 100644 (file)
@@ -1,12 +1,12 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
- * 
+ * Copyright (c) 2012, 2013 Ericsson
+ *
  * 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
- * 
- * Contributors: 
+ *
+ * Contributors:
  *   Bernd Hufmann - Initial API and implementation
  **********************************************************************/
 package org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs;
@@ -15,37 +15,49 @@ import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceContr
 import org.eclipse.rse.core.model.IHost;
 
 /**
- * <b><u>INewConnectionDialog</u></b>
  * <p>
  * Interface for connection information dialog.
  * </p>
+ *
+ *  @author Bernd Hufmann
  */
 public interface INewConnectionDialog {
-    
+
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
     /**
      * @return the connection name (alias).
      */
-    public String getConnectionName();
+    String getConnectionName();
 
     /**
      * @return the host name (IP address or DNS name)
      */
-    public String getHostName();
-    
+    String getHostName();
+
+    /**
+     * @return port of IP connection to be used
+     */
+    int getPort();
+
     /**
      * Sets the trace control root
      * @param parent - the trace control parent
      */
-    public void setTraceControlParent(ITraceControlComponent parent);
-    
+    void setTraceControlParent(ITraceControlComponent parent);
+
     /**
      * Sets the available hosts to select.
      * @param hosts - the available hosts
      */
-    public void setHosts(IHost[] hosts);
+    void setHosts(IHost[] hosts);
+
+    /**
+     * Set the port of the IP connection to be used.
+     * @param port - the IP port to set
+     */
+    void setPort(int port);
 
     // ------------------------------------------------------------------------
     // Operations
This page took 0.025217 seconds and 5 git commands to generate.