io.netty.channel.pool.ChannelPoolHandler Java Examples

The following examples show how to use io.netty.channel.pool.ChannelPoolHandler. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Http1TunnelConnectionPool.java    From aws-sdk-java-v2 with Apache License 2.0 5 votes vote down vote up
@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;
}
 
Example #2
Source File: BetterSimpleChannelPool.java    From aws-sdk-java-v2 with Apache License 2.0 4 votes vote down vote up
BetterSimpleChannelPool(Bootstrap bootstrap, ChannelPoolHandler handler) {
    super(bootstrap, handler);
    closeFuture = new CompletableFuture<>();
}
 
Example #3
Source File: Http1TunnelConnectionPool.java    From aws-sdk-java-v2 with Apache License 2.0 4 votes vote down vote up
public Http1TunnelConnectionPool(EventLoop eventLoop, ChannelPool delegate, SslContext sslContext,
                                 URI proxyAddress, URI remoteAddress, ChannelPoolHandler handler) {
    this(eventLoop, delegate, sslContext, proxyAddress, remoteAddress, handler, ProxyTunnelInitHandler::new);

}
 
Example #4
Source File: ConnectionlessChannelPool.java    From async-gamequery-lib with MIT License 4 votes vote down vote up
public ConnectionlessChannelPool(Bootstrap bootstrap, ChannelPoolHandler handler) {
    super(bootstrap, handler);
}
 
Example #5
Source File: ConnectionlessChannelPool.java    From async-gamequery-lib with MIT License 4 votes vote down vote up
public ConnectionlessChannelPool(Bootstrap bootstrap, ChannelPoolHandler handler, ChannelHealthChecker healthCheck) {
    super(bootstrap, handler, healthCheck);
}
 
Example #6
Source File: ConnectionlessChannelPool.java    From async-gamequery-lib with MIT License 4 votes vote down vote up
public ConnectionlessChannelPool(Bootstrap bootstrap, ChannelPoolHandler handler, ChannelHealthChecker healthCheck, boolean releaseHealthCheck) {
    super(bootstrap, handler, healthCheck, releaseHealthCheck);
}
 
Example #7
Source File: NettyPooledTransport.java    From async-gamequery-lib with MIT License 4 votes vote down vote up
/**
 * @return The {@link ChannelPoolHandler}
 */
public ChannelPoolHandler getChannelPoolHandler() {
    return channelPoolHandler;
}