Class PCEPProtocolSessionPromise<S extends PCEPSession>

  • All Implemented Interfaces:
    io.netty.util.concurrent.Future<S>, io.netty.util.concurrent.Promise<S>, Future<S>

    public final class PCEPProtocolSessionPromise<S extends PCEPSession>
    extends io.netty.util.concurrent.DefaultPromise<S>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean cancel​(boolean mayInterruptIfRunning)  
      io.netty.util.concurrent.Promise<S> setSuccess​(S result)  
      • 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, setUncancellable, sync, syncUninterruptibly, toString, toStringBuilder, tryFailure, trySuccess
    • Method Detail

      • cancel

        public boolean cancel​(boolean mayInterruptIfRunning)
        Specified by:
        cancel in interface io.netty.util.concurrent.Future<S extends PCEPSession>
        Specified by:
        cancel in interface Future<S extends PCEPSession>
        Overrides:
        cancel in class io.netty.util.concurrent.DefaultPromise<S extends PCEPSession>
      • setSuccess

        public io.netty.util.concurrent.Promise<S> setSuccess​(S result)
        Specified by:
        setSuccess in interface io.netty.util.concurrent.Promise<S extends PCEPSession>
        Overrides:
        setSuccess in class io.netty.util.concurrent.DefaultPromise<S extends PCEPSession>