public interface IApplicationPortForwarding
Modifier and Type | Method and Description |
---|---|
String |
getLocalAddress() |
int |
getLocalPort() |
String |
getName() |
String |
getRemoteAddress() |
int |
getRemotePort() |
boolean |
isStarted(com.jcraft.jsch.Session session) |
void |
setLocalAddress(String localAddress) |
void |
setLocalPort(int localPort) |
void |
start(com.jcraft.jsch.Session session)
Start the binding, ie, open a SSH tunnel between local address:port and remote address:port.
|
void |
stop(com.jcraft.jsch.Session session)
Stop the SSH tunnel.
|
void start(com.jcraft.jsch.Session session) throws OpenShiftSSHOperationException
OpenShiftSSHOperationException
void stop(com.jcraft.jsch.Session session) throws OpenShiftSSHOperationException
OpenShiftSSHOperationException
boolean isStarted(com.jcraft.jsch.Session session) throws OpenShiftSSHOperationException
OpenShiftSSHOperationException
String getName()
String getLocalAddress()
void setLocalAddress(String localAddress)
localAddress
- the localAddress to setint getLocalPort()
void setLocalPort(int localPort)
localPort
- the localPort to setString getRemoteAddress()
int getRemotePort()
Copyright © 2016 JBoss by Red Hat. All rights reserved.