public final class NettyConnectListener<T> extends Object
| Constructor and Description |
|---|
NettyConnectListener(NettyResponseFuture<T> future,
NettyRequestSender requestSender,
ChannelManager channelManager,
ConnectionSemaphore connectionSemaphore) |
| Modifier and Type | Method and Description |
|---|---|
void |
onFailure(io.netty.channel.Channel channel,
Throwable cause) |
void |
onSuccess(io.netty.channel.Channel channel,
InetSocketAddress remoteAddress) |
public NettyConnectListener(NettyResponseFuture<T> future, NettyRequestSender requestSender, ChannelManager channelManager, ConnectionSemaphore connectionSemaphore)
public void onSuccess(io.netty.channel.Channel channel,
InetSocketAddress remoteAddress)
public void onFailure(io.netty.channel.Channel channel,
Throwable cause)
Copyright © 2020. All rights reserved.