public interface SshPortForwardTunnel extends SshDataProducingComponent
For example, if a single port forward to a web server address has been
configured, upon using entering the tunneled URL the browser will make
multiple concurrent connections. For each connection that browser makes, all
registered SshPortForwardListener will be notified via
SshPortForwardListener#channelOpened(int, SshLifecycleComponent).
The browser will eventually time-out, and start closing all the connections
it made. When this happens,
SshPortForwardListener#channelClosed(int, SshLifecycleComponent) will be fired.
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBindAddress()
Get the address that the tunnel will listen on.
|
int |
getBindPort()
Get the port that the tunnel will listen on.
|
java.lang.String |
getOriginatingAddress()
Get the address the tunnel connection originated from
|
int |
getOriginatingPort()
Get the port the tunnel connection originated from
|
addDataListener, removeDataListeneraddListener, close, isOpen, open, removeListenerjava.lang.String getOriginatingAddress()
getOriginatingPort()int getOriginatingPort()
getOriginatingAddress()java.lang.String getBindAddress()
getBindPort()int getBindPort()
getBindAddress()Copyright © 2018. All rights reserved.