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

    Constructors
    Constructor
    Description
    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 Summary

    Modifier and Type
    Method
    Description
    boolean
    cancel(boolean mayInterruptIfRunning)
     
    void
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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 interface io.netty.util.concurrent.Future<S extends BGPSession>
      Specified by:
      cancel in interface Future<S extends BGPSession>
      Overrides:
      cancel in class io.netty.util.concurrent.DefaultPromise<Void>