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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.InetSocketAddress
getRemoteAddress()
Returns the remote address of the proxy.
-
-
-
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, 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
-
-