public interface ForwardingFilter extends PortForwardingManager, PortForwardingEventListenerManager, PortForwardingEventListenerManagerHolder, Closeable
CLOSE_WAIT_TIMEOUT, DEFAULT_CLOSE_WAIT_TIMEOUT| Modifier and Type | Method and Description |
|---|---|
SshdSocketAddress |
getForwardedPort(int remotePort) |
void |
localPortForwardingCancelled(SshdSocketAddress local)
Called when the other side cancelled a remote port forward.
|
SshdSocketAddress |
localPortForwardingRequested(SshdSocketAddress local)
Called when the other side requested a remote port forward.
|
startDynamicPortForwarding, startLocalPortForwarding, startRemotePortForwarding, stopDynamicPortForwarding, stopLocalPortForwarding, stopRemotePortForwardinggetBoundLocalPortForward, getBoundRemotePortForward, getLocalForwardsBindings, getRemoteForwardsBindings, getStartedLocalPortForwards, getStartedRemotePortForwards, isLocalPortForwardingStartedForPort, isRemotePortForwardingStartedForPortaddPortForwardingEventListener, getPortForwardingEventListenerProxy, removePortForwardingEventListeneraddPortForwardingEventListenerManager, getRegisteredManagers, removePortForwardingEventListenerManageraddCloseFutureListener, close, close, close, getMaxCloseWaitTime, isClosed, isClosing, isOpen, removeCloseFutureListenerSshdSocketAddress getForwardedPort(int remotePort)
remotePort - The remote portSshdSocketAddress that the remote port is forwarded toSshdSocketAddress localPortForwardingRequested(SshdSocketAddress local) throws IOException
local - The request addressSshdSocketAddress - null if not allowed to forwardIOException - If failed to handle requestvoid localPortForwardingCancelled(SshdSocketAddress local) throws IOException
local - The local SshdSocketAddressIOException - If failed to handle requestCopyright © 2008–2020 The Apache Software Foundation. All rights reserved.