AESocksProxyFactorypublic class AESocksProxyFactory extends Object
Methods Summary |
---|
public static AESocksProxy | create(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 AESocksProxy | create(int port, long connect_timeout, long read_timeout, AESocksProxyPlugableConnectionFactory connection_factory)
return( new AESocksProxyImpl( port, connect_timeout, read_timeout, connection_factory ));
| public static void | main(java.lang.String[] args)
try{
AESocksProxy proxy = create( 1080, 30*1000, 30*1000 );
Thread.sleep(24*60*60*10000);
}catch( Throwable e ){
e.printStackTrace();
}
|
|