Package org.jboss.modcluster.config.impl
Class ProxyConfigurationImpl
java.lang.Object
org.jboss.modcluster.config.impl.ProxyConfigurationImpl
- All Implemented Interfaces:
ProxyConfiguration
- Author:
- Radoslav Husar
-
Constructor Summary
ConstructorDescriptionProxyConfigurationImpl
(InetSocketAddress remoteAddress) ProxyConfigurationImpl
(InetSocketAddress remoteAddress, InetSocketAddress localAddress) -
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.
-
Constructor Details
-
ProxyConfigurationImpl
-
ProxyConfigurationImpl
-
-
Method Details
-
getRemoteAddress
Description copied from interface:ProxyConfiguration
Returns the remote address of the proxy.- Specified by:
getRemoteAddress
in interfaceProxyConfiguration
- Returns:
- remote address of the proxy
-
getLocalAddress
Description copied from interface:ProxyConfiguration
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.- Specified by:
getLocalAddress
in interfaceProxyConfiguration
- Returns:
- local address to bind to for connecting to the proxy
-