public class JSchConnectionProxyFactory
extends java.lang.Object
| Constructor and Description |
|---|
JSchConnectionProxyFactory() |
| Modifier and Type | Method and Description |
|---|---|
static com.jcraft.jsch.Proxy |
createCommandProxy(JSchConnection connection,
java.lang.String command,
org.eclipse.core.runtime.IProgressMonitor monitor)
Creates a (local or remote) command proxy.
|
static com.jcraft.jsch.Proxy |
createForwardProxy(JSchConnection proxyConnection,
org.eclipse.core.runtime.IProgressMonitor monitor)
Creates a ssh forward proxy.
|
public static com.jcraft.jsch.Proxy createCommandProxy(JSchConnection connection, java.lang.String command, org.eclipse.core.runtime.IProgressMonitor monitor)
connection - Either a valid connection or null for a local commandcommand - A valid proxy command. Cannot be null or empty.monitor - A valid progress monitor. Cannot be null.public static com.jcraft.jsch.Proxy createForwardProxy(JSchConnection proxyConnection, org.eclipse.core.runtime.IProgressMonitor monitor)
proxyConnection - The Jsch proxy connection. Cannot be null.monitor - A valid progress monitor. Cannot be null.