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()
SshdSocketAddress
default boolean isLocalPortForwardingStartedForPort(int port)
port
- The local porttrue
if local port forwarding is startedgetBoundLocalPortForward
NavigableSet<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()
SshdSocketAddress
default boolean isRemotePortForwardingStartedForPort(int port)
port
- The remote porttrue
if remote port forwarding is startedgetBoundRemotePortForward
Copyright © 2008–2022 The Apache Software Foundation. All rights reserved.