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 Summary

    Modifier and Type
    Method
    Description
    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 the remote address of the proxy.
  • Method Details

    • 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