lttng: Support for port number in lttng control (bug 406122)
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.ui / src / org / eclipse / linuxtools / internal / lttng2 / ui / views / control / model / impl / TargetNodeComponent.java
index 2546d7c9a59de4bb5b0cb0bad922a442c6f78b9c..907390d70bb73530751c0a3f56735161dfa5de13 100644 (file)
@@ -197,6 +197,21 @@ public class TargetNodeComponent extends TraceControlComponent implements ICommu
         return fRemoteProxy;
     }
 
+    /**
+     * @return port of IP connection (shell) to be used
+     */
+    public int getPort() {
+        return fRemoteProxy.getPort();
+    }
+
+    /**
+     * Sets the port of the IP connections of the shell
+     * @param port - the IP port to set
+     */
+    public void setPort(int port) {
+        fRemoteProxy.setPort(port);
+    }
+
     /**
      * @return all available sessions.
      */
This page took 0.024472 seconds and 5 git commands to generate.