public interface PortForwardingInformationProvider
| Modifier and Type | Method and Description |
|---|---|
SshdSocketAddress |
getBoundLocalPortForward(int port) |
SshdSocketAddress |
getBoundRemotePortForward(int port) |
List<Map.Entry<Integer,SshdSocketAddress>> |
getLocalForwardsBindings() |
List<Map.Entry<Integer,SshdSocketAddress>> |
getRemoteForwardsBindings() |
NavigableSet<Integer> |
getStartedLocalPortForwards() |
NavigableSet<Integer> |
getStartedRemotePortForwards() |
default boolean |
isLocalPortForwardingStartedForPort(int port)
Test if local port forwarding is started
|
default boolean |
isRemotePortForwardingStartedForPort(int port)
Test if remote port forwarding is started
|
NavigableSet<Integer> getStartedLocalPortForwards()
NavigableSet snapshot of the currently started
local port forwardsSshdSocketAddress getBoundLocalPortForward(int port)
port - The port numberSshdSocketAddress for the port
- null if none boundisLocalPortForwardingStartedForPort,
getStartedLocalPortForwards()List<Map.Entry<Integer,SshdSocketAddress>> getLocalForwardsBindings()
SshdSocketAddressdefault boolean isLocalPortForwardingStartedForPort(int port)
port - The local porttrue if local port forwarding is startedgetBoundLocalPortForwardNavigableSet<Integer> getStartedRemotePortForwards()
NavigableSet snapshot of the currently started
remote port forwardsSshdSocketAddress getBoundRemotePortForward(int port)
port - The port numberSshdSocketAddress for the port
- null if none boundisRemotePortForwardingStartedForPort,
getStartedRemotePortForwards()List<Map.Entry<Integer,SshdSocketAddress>> getRemoteForwardsBindings()
SshdSocketAddressdefault boolean isRemotePortForwardingStartedForPort(int port)
port - The remote porttrue if remote port forwarding is startedgetBoundRemotePortForwardCopyright © 2008–2020 The Apache Software Foundation. All rights reserved.