类io.netty.channel.pool.ChannelPoolHandler源码实例Demo

下面列出了怎么用io.netty.channel.pool.ChannelPoolHandler的API类实例代码及写法,或者点击链接到github查看源代码。

@SdkTestInternalApi
Http1TunnelConnectionPool(EventLoop eventLoop, ChannelPool delegate, SslContext sslContext,
                          URI proxyAddress, URI remoteAddress, ChannelPoolHandler handler,
                          InitHandlerSupplier initHandlerSupplier) {
    this.eventLoop = eventLoop;
    this.delegate = delegate;
    this.sslContext = sslContext;
    this.proxyAddress = proxyAddress;
    this.remoteAddress = remoteAddress;
    this.handler = handler;
    this.initHandlerSupplier = initHandlerSupplier;
}
 
源代码2 项目: aws-sdk-java-v2   文件: BetterSimpleChannelPool.java
BetterSimpleChannelPool(Bootstrap bootstrap, ChannelPoolHandler handler) {
    super(bootstrap, handler);
    closeFuture = new CompletableFuture<>();
}
 
public Http1TunnelConnectionPool(EventLoop eventLoop, ChannelPool delegate, SslContext sslContext,
                                 URI proxyAddress, URI remoteAddress, ChannelPoolHandler handler) {
    this(eventLoop, delegate, sslContext, proxyAddress, remoteAddress, handler, ProxyTunnelInitHandler::new);

}
 
public ConnectionlessChannelPool(Bootstrap bootstrap, ChannelPoolHandler handler) {
    super(bootstrap, handler);
}
 
public ConnectionlessChannelPool(Bootstrap bootstrap, ChannelPoolHandler handler, ChannelHealthChecker healthCheck) {
    super(bootstrap, handler, healthCheck);
}
 
public ConnectionlessChannelPool(Bootstrap bootstrap, ChannelPoolHandler handler, ChannelHealthChecker healthCheck, boolean releaseHealthCheck) {
    super(bootstrap, handler, healthCheck, releaseHealthCheck);
}
 
/**
 * @return The {@link ChannelPoolHandler}
 */
public ChannelPoolHandler getChannelPoolHandler() {
    return channelPoolHandler;
}
 
 类所在包
 同包方法