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. IfConnectionConfig.getAutoReconnect()
is true, a connection reconnect is attempted on a separate thread.
-
-
Field Summary
Fields Modifier and Type Field Description private AtomicBoolean
reconnecting
Whether this listener is in the process of reconnecting.
-
Constructor Summary
Constructors Modifier Constructor Description private
CloseFutureListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
operationComplete(io.netty.channel.ChannelFuture future)
-
-
-
Field Detail
-
reconnecting
private final AtomicBoolean reconnecting
Whether this listener is in the process of reconnecting.
-
-