public interface IRemotePortForwardingService extends IRemoteConnection.Service
IRemoteConnection.Service.Factory
Modifier and Type | Method and Description |
---|---|
void |
forwardLocalPort(int localPort,
java.lang.String fwdAddress,
int fwdPort)
Forward local port localPort to remote port fwdPort on remote machine fwdAddress.
|
int |
forwardLocalPort(java.lang.String fwdAddress,
int fwdPort,
org.eclipse.core.runtime.IProgressMonitor monitor)
Forward a local port to remote port fwdPort on remote machine fwdAddress.
|
void |
forwardRemotePort(int remotePort,
java.lang.String fwdAddress,
int fwdPort)
Forward remote port remotePort to port fwdPort on machine fwdAddress.
|
int |
forwardRemotePort(java.lang.String fwdAddress,
int fwdPort,
org.eclipse.core.runtime.IProgressMonitor monitor)
Forward a remote port to port fwdPort on remote machine fwdAddress.
|
void |
removeLocalPortForwarding(int port)
Remove the local port forwarding associated with the given port.
|
void |
removeRemotePortForwarding(int port)
Remove the remote port forwarding associated with the given port.
|
getRemoteConnection
void forwardLocalPort(int localPort, java.lang.String fwdAddress, int fwdPort) throws RemoteConnectionException
localPort
- local port to forwardfwdAddress
- address of remote machinefwdPort
- remote port on remote machineRemoteConnectionException
int forwardLocalPort(java.lang.String fwdAddress, int fwdPort, org.eclipse.core.runtime.IProgressMonitor monitor) throws RemoteConnectionException
fwdAddress
- fwdPort
- monitor
- RemoteConnectionException
void forwardRemotePort(int remotePort, java.lang.String fwdAddress, int fwdPort) throws RemoteConnectionException
remotePort
- remote port to forwardfwdAddress
- address of recipient machinefwdPort
- port on recipient machineRemoteConnectionException
int forwardRemotePort(java.lang.String fwdAddress, int fwdPort, org.eclipse.core.runtime.IProgressMonitor monitor) throws RemoteConnectionException
fwdAddress
- fwdPort
- monitor
- RemoteConnectionException
void removeLocalPortForwarding(int port) throws RemoteConnectionException
port
- forwarded portRemoteConnectionException
void removeRemotePortForwarding(int port) throws RemoteConnectionException
port
- forwarded portRemoteConnectionException