Package org.jboss.modcluster.config.impl
Class ProxyConfigurationImpl
- java.lang.Object
-
- org.jboss.modcluster.config.impl.ProxyConfigurationImpl
-
- All Implemented Interfaces:
ProxyConfiguration
public class ProxyConfigurationImpl extends Object implements ProxyConfiguration
- Author:
- Radoslav Husar
-
-
Constructor Summary
Constructors Constructor Description ProxyConfigurationImpl(InetSocketAddress remoteAddress)ProxyConfigurationImpl(InetSocketAddress remoteAddress, InetSocketAddress localAddress)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InetSocketAddressgetLocalAddress()Returns the local address to bind to for connecting to the proxy, ifnullthe default will be used, if port is0an ephemeral port is used.InetSocketAddressgetRemoteAddress()Returns the remote address of the proxy.
-
-
-
Constructor Detail
-
ProxyConfigurationImpl
public ProxyConfigurationImpl(InetSocketAddress remoteAddress)
-
ProxyConfigurationImpl
public ProxyConfigurationImpl(InetSocketAddress remoteAddress, InetSocketAddress localAddress)
-
-
Method Detail
-
getRemoteAddress
public InetSocketAddress getRemoteAddress()
Description copied from interface:ProxyConfigurationReturns the remote address of the proxy.- Specified by:
getRemoteAddressin interfaceProxyConfiguration- Returns:
- remote address of the proxy
-
getLocalAddress
public InetSocketAddress getLocalAddress()
Description copied from interface:ProxyConfigurationReturns the local address to bind to for connecting to the proxy, ifnullthe default will be used, if port is0an ephemeral port is used.- Specified by:
getLocalAddressin interfaceProxyConfiguration- Returns:
- local address to bind to for connecting to the proxy
-
-