Package com.facebook.presto.jdbc.internal.airlift.http.client.netty.socks

Examples of com.facebook.presto.jdbc.internal.airlift.http.client.netty.socks.Socks4ClientBootstrap


        ClientBootstrap bootstrap;
        if (config.getSocksProxy() == null) {
            bootstrap = new ClientBootstrap(channelFactory);
        }
        else {
            bootstrap = new Socks4ClientBootstrap(channelFactory, config.getSocksProxy());
        }
        bootstrap.setOption("connectTimeoutMillis", config.getConnectTimeout().toMillis());
        bootstrap.setOption("soLinger", 0);

        nettyConnectionPool = new NettyConnectionPool(bootstrap,
View Full Code Here

TOP

Related Classes of com.facebook.presto.jdbc.internal.airlift.http.client.netty.socks.Socks4ClientBootstrap

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.