Interface ProxyConfiguration

  • All Known Implementing Classes:
    ProxyConfigurationImpl

    public interface ProxyConfiguration
    Proxy configuration with destination address and optional local address to bind to.
    Since:
    1.3.1.Final
    Author:
    Radoslav Husar
    • Method Detail

      • getRemoteAddress

        InetSocketAddress getRemoteAddress()
        Returns the remote address of the proxy.
        Returns:
        remote address of the proxy
      • getLocalAddress

        InetSocketAddress getLocalAddress()
        Returns the local address to bind to for connecting to the proxy, if null the default will be used, if port is 0 an ephemeral port is used.
        Returns:
        local address to bind to for connecting to the proxy