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 / remote / IRemoteSystemProxy.java
index 7ffc7aea25b0b4f5b588ec98efb0fd610d334ce8..a7670a0e7dd13b1fff2c657f0ecdcada095604e0 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * 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
@@ -28,6 +28,14 @@ import org.eclipse.rse.subsystems.files.core.servicesubsystem.IFileServiceSubSys
  */
 public interface IRemoteSystemProxy {
 
+    // ------------------------------------------------------------------------
+    // Constants
+    // ------------------------------------------------------------------------
+    /**
+     * Invalid port number for IP based connections.
+     */
+    public final static int INVALID_PORT_NUMBER = -1;
+
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
@@ -66,6 +74,17 @@ public interface IRemoteSystemProxy {
      */
     public IFileServiceSubSystem getFileServiceSubSystem();
 
+    /**
+     * @return port of IP connection to be used
+     */
+    public int getPort();
+
+    /**
+     * Sets the port of the IP connection.
+     * @param port - the IP port to set
+     */
+    public void setPort(int port);
+
     /**
      * Connects the shell service sub system.
      *
This page took 0.024146 seconds and 5 git commands to generate.