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 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.
-
-
-
Constructor Detail
-
ProxyConfigurationImpl
public ProxyConfigurationImpl(InetSocketAddress remoteAddress)
-
ProxyConfigurationImpl
public ProxyConfigurationImpl(InetSocketAddress remoteAddress, InetSocketAddress localAddress)
-
-
Method Detail
-
getRemoteAddress
public InetSocketAddress 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
public InetSocketAddress 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
-
-