rabbit.io
Interface ProxyChainFactory

All Known Implementing Classes:
InOutProxyChainFactory

public interface ProxyChainFactory

A constructor of ProxyChain:s.

Author:
Robert Olofsson

Method Summary
 ProxyChain getProxyChain(SProperties props, NioHandler nio, DNSHandler dnsHandler, Logger logger)
          Create a ProxyChain given the properties.
 

Method Detail

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 chain
nio - the NioHandler to use for network and background tasks
dnsHandler - the DNSHandler to use for normal DNS lookups
logger - the Logger to log errors to
Returns:
the new ProxyChain