public class LibsshLocalForward extends AbstractPortForward implements SshPortForward, java.lang.Runnable
LOCAL_FORWARDING, REMOTE_FORWARDING, X11_FORWARDING| Constructor and Description |
|---|
LibsshLocalForward(SshLibrary.ssh_session libSshSession,
SshLibrary library,
java.lang.String localAddress,
int localPort,
java.lang.String remoteHost,
int remotePort) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onClose() |
protected void |
onOpen() |
void |
run() |
close, getTimeout, isOpen, open, setTimeoutaddListener, fireClosed, fireClosing, fireOpened, getListeners, removeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getTimeout, isOpen, open, setTimeoutaddListener, removeListenerpublic LibsshLocalForward(SshLibrary.ssh_session libSshSession, SshLibrary library, java.lang.String localAddress, int localPort, java.lang.String remoteHost, int remotePort)
protected void onOpen()
throws SshException
onOpen in class AbstractPortForwardSshExceptionprotected void onClose()
throws SshException
onClose in class AbstractPortForwardSshExceptionpublic void run()
run in interface java.lang.RunnableCopyright © 2018. All rights reserved.