Package org.jboss.modcluster.config
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 TypeMethodDescriptionReturns the local address to bind to for connecting to the proxy, ifnull
the default will be used, if port is0
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, ifnull
the default will be used, if port is0
an ephemeral port is used.- Returns:
- local address to bind to for connecting to the proxy
-