rabbit.httpio
Class InOutProxyChainFactory

java.lang.Object
  extended by rabbit.httpio.InOutProxyChainFactory
All Implemented Interfaces:
ProxyChainFactory

public class InOutProxyChainFactory
extends Object
implements ProxyChainFactory

A factory that creates InOutProxyChain:s.

Author:
Robert Olofsson

Constructor Summary
InOutProxyChainFactory()
           
 
Method Summary
 ProxyChain getProxyChain(SProperties props, NioHandler nio, DNSHandler dnsHandler, Logger logger)
          Create a ProxyChain given the properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InOutProxyChainFactory

public InOutProxyChainFactory()
Method Detail

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 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