com.openshift.client
Interface IApplicationPortForwarding
- All Known Implementing Classes: 
 - ApplicationPortForwarding
 
public interface IApplicationPortForwarding
 
start
void start(com.jcraft.jsch.Session session)
           throws OpenShiftSSHOperationException
- Start the binding, ie, open a SSH tunnel between local address:port and remote address:port.
- Throws:
 OpenShiftSSHOperationException
 
 
stop
void stop(com.jcraft.jsch.Session session)
          throws OpenShiftSSHOperationException
- Stop the SSH tunnel.
- Throws:
 OpenShiftSSHOperationException
 
 
isStarted
boolean isStarted(com.jcraft.jsch.Session session)
                  throws OpenShiftSSHOperationException
- Returns:
 - true if the SSH tunnel is open, false otherwise.
 - Throws:
 OpenShiftSSHOperationException
 
getName
String getName()
- Returns:
 - the name
 
 
getLocalAddress
String getLocalAddress()
- Returns:
 - the localAddress
 
 
setLocalAddress
void setLocalAddress(String localAddress)
- Parameters:
 localAddress - the localAddress to set
 
getLocalPort
int getLocalPort()
- Returns:
 - the localPort
 
 
setLocalPort
void setLocalPort(int localPort)
- Parameters:
 localPort - the localPort to set
 
getRemoteAddress
String getRemoteAddress()
- Returns:
 - the remoteIp
 
 
getRemotePort
int getRemotePort()
- Returns:
 - the remotePort
 
 
Copyright © 2014 JBoss, a division of Red Hat, Inc.. All Rights Reserved.