Interface PortForwardingInformationProvider

    • Method Detail

      • getStartedLocalPortForwards

        java.util.List<SshdSocketAddress> getStartedLocalPortForwards()
        Returns:
        A List snapshot of the currently started local port forward bindings
      • isLocalPortForwardingStartedForPort

        default boolean isLocalPortForwardingStartedForPort​(int port)
        Test if local port forwarding is started
        Parameters:
        port - The local port
        Returns:
        true if local port forwarding is started
        See Also:
        getBoundLocalPortForwards
      • getStartedRemotePortForwards

        java.util.NavigableSet<java.lang.Integer> getStartedRemotePortForwards()
        Returns:
        A NavigableSet snapshot of the currently started remote port forwards
      • getRemoteForwardsBindings

        java.util.List<java.util.Map.Entry<java.lang.Integer,​SshdSocketAddress>> getRemoteForwardsBindings()
        Returns:
        A snapshot of the currently bound forwarded remote ports as "pairs" of port + bound SshdSocketAddress
      • isRemotePortForwardingStartedForPort

        default boolean isRemotePortForwardingStartedForPort​(int port)
        Test if remote port forwarding is started
        Parameters:
        port - The remote port
        Returns:
        true if remote port forwarding is started
        See Also:
        getBoundRemotePortForward