com.softicar.platform.common.network.ssh.ISshLocalPortForward Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of platform-common Show documentation
Show all versions of platform-common Show documentation
The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.
package com.softicar.platform.common.network.ssh;
/**
* Interface of a local port forward using SSH.
*
* A local port forward allocates a local port which is then forwarded through
* an SSH tunnel to another port on a remote host. For more information about
* this concept, see the manual for the SSH command line client, concerning the
* -L option.
*
* @author Oliver Richers
*/
public interface ISshLocalPortForward extends AutoCloseable {
ISshLocalPortForwardConfiguration getConfiguration();
int getLocalPort();
@Override
void close();
}