rabbit.io
Interface ProxyChainFactory
- All Known Implementing Classes:
- InOutProxyChainFactory
public interface ProxyChainFactory
A constructor of ProxyChain:s.
- Author:
- Robert Olofsson
getProxyChain
ProxyChain getProxyChain(SProperties props,
NioHandler nio,
DNSHandler dnsHandler,
Logger logger)
- Create a ProxyChain given the properties.
- 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