Class BGPReconnectPromise<S extends BGPSession>
java.lang.Object
io.netty.util.concurrent.AbstractFuture<V>
io.netty.util.concurrent.DefaultPromise<Void>
org.opendaylight.protocol.bgp.rib.impl.protocol.BGPReconnectPromise<S>
- All Implemented Interfaces:
io.netty.util.concurrent.Future<Void>
,io.netty.util.concurrent.Promise<Void>
,Future<Void>
public class BGPReconnectPromise<S extends BGPSession>
extends io.netty.util.concurrent.DefaultPromise<Void>
-
Constructor Summary
ConstructorDescriptionBGPReconnectPromise
(@NonNull io.netty.util.concurrent.EventExecutor executor, @NonNull InetSocketAddress address, int retryTimer, @NonNull io.netty.bootstrap.Bootstrap bootstrap, @NonNull BGPPeerRegistry peerRegistry, @NonNull ChannelPipelineInitializer<S> initializer) -
Method Summary
Methods inherited from class io.netty.util.concurrent.DefaultPromise
addListener, addListeners, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cause, checkDeadLock, executor, get, get, getNow, isCancellable, isCancelled, isDone, isSuccess, notifyListener, removeListener, removeListeners, setFailure, setSuccess, setUncancellable, sync, syncUninterruptibly, toString, toStringBuilder, tryFailure, trySuccess
-
Constructor Details
-
BGPReconnectPromise
public BGPReconnectPromise(@NonNull io.netty.util.concurrent.EventExecutor executor, @NonNull InetSocketAddress address, int retryTimer, @NonNull io.netty.bootstrap.Bootstrap bootstrap, @NonNull BGPPeerRegistry peerRegistry, @NonNull ChannelPipelineInitializer<S> initializer)
-
-
Method Details
-
connect
public void connect() -
cancel
public boolean cancel(boolean mayInterruptIfRunning) - Specified by:
cancel
in interfaceio.netty.util.concurrent.Future<S extends BGPSession>
- Specified by:
cancel
in interfaceFuture<S extends BGPSession>
- Overrides:
cancel
in classio.netty.util.concurrent.DefaultPromise<Void>
-