FileDocCategorySizeDatePackage
AESocksProxyFactory.javaAPI DocAzureus 3.0.3.42174Thu Feb 09 19:42:46 GMT 2006com.aelitis.azureus.core.proxy.socks

AESocksProxyFactory

public class AESocksProxyFactory extends Object
author
parg

Fields Summary
Constructors Summary
Methods Summary
public static AESocksProxycreate(int port, long connect_timeout, long read_timeout)

		return( create( port, 
						connect_timeout,
						read_timeout,
						new AESocksProxyPlugableConnectionFactory()
						{
							public AESocksProxyPlugableConnection
							create(
								AESocksProxyConnection	connection )
							{
								return( new AESocksProxyPlugableConnectionDefault( connection ));
							}
						}));
	
public static AESocksProxycreate(int port, long connect_timeout, long read_timeout, AESocksProxyPlugableConnectionFactory connection_factory)

		return( new AESocksProxyImpl( port, connect_timeout, read_timeout, connection_factory ));
	
public static voidmain(java.lang.String[] args)

		try{
			AESocksProxy	proxy = create( 1080, 30*1000, 30*1000 );
			
			Thread.sleep(24*60*60*10000);
			
		}catch( Throwable e ){
			
			e.printStackTrace();
		}