Package org.ldaptive.transport.netty
Class NettyConnection.CloseFutureListener
java.lang.Object
org.ldaptive.transport.netty.NettyConnection.CloseFutureListener
- All Implemented Interfaces:
io.netty.channel.ChannelFutureListener,io.netty.util.concurrent.GenericFutureListener<io.netty.channel.ChannelFuture>,EventListener
- Enclosing class:
- NettyConnection
private final class NettyConnection.CloseFutureListener
extends Object
implements io.netty.channel.ChannelFutureListener
Listener for channel close events. If
ConnectionConfig.getAutoReconnect() is true, a connection reconnect
is attempted on a separate thread.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AtomicBooleanWhether this listener is in the process of reconnecting.Fields inherited from interface io.netty.channel.ChannelFutureListener
CLOSE, CLOSE_ON_FAILURE, FIRE_EXCEPTION_ON_FAILURE -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
reconnecting
Whether this listener is in the process of reconnecting.
-
-
Constructor Details
-
CloseFutureListener
private CloseFutureListener()
-
-
Method Details
-
operationComplete
public void operationComplete(io.netty.channel.ChannelFuture future) - Specified by:
operationCompletein interfaceio.netty.util.concurrent.GenericFutureListener<io.netty.channel.ChannelFuture>
-