rabbit.httpio
Class InOutProxyChainFactory
java.lang.Object
rabbit.httpio.InOutProxyChainFactory
- All Implemented Interfaces:
- ProxyChainFactory
public class InOutProxyChainFactory
- extends Object
- implements ProxyChainFactory
A factory that creates InOutProxyChain:s.
- Author:
- Robert Olofsson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InOutProxyChainFactory
public InOutProxyChainFactory()
getProxyChain
public ProxyChain getProxyChain(SProperties props,
NioHandler nio,
DNSHandler dnsHandler,
Logger logger)
- Description copied from interface:
ProxyChainFactory
- Create a ProxyChain given the properties.
- Specified by:
getProxyChain
in interface ProxyChainFactory
- Parameters:
props
- the properties to use when constructing the proxy chainnio
- the NioHandler to use for network and background tasksdnsHandler
- the DNSHandler to use for normal DNS lookupslogger
- the Logger to log errors to
- Returns:
- the new ProxyChain