Class InvalidVoidChannelFuture

java.lang.Object
org.geysermc.mcprotocollib.network.tcp.InvalidVoidChannelFuture
All Implemented Interfaces:
io.netty.channel.ChannelFuture, io.netty.util.concurrent.Future<Void>, Future<Void>

public class InvalidVoidChannelFuture extends Object implements io.netty.channel.ChannelFuture
  • Constructor Details

    • InvalidVoidChannelFuture

      public InvalidVoidChannelFuture()
  • Method Details

    • create

      public static InvalidVoidChannelFuture create()
    • channel

      public io.netty.channel.Channel channel()
      Specified by:
      channel in interface io.netty.channel.ChannelFuture
    • isSuccess

      public boolean isSuccess()
      Specified by:
      isSuccess in interface io.netty.util.concurrent.Future<Void>
    • isCancellable

      public boolean isCancellable()
      Specified by:
      isCancellable in interface io.netty.util.concurrent.Future<Void>
    • cause

      public Throwable cause()
      Specified by:
      cause in interface io.netty.util.concurrent.Future<Void>
    • addListener

      public io.netty.channel.ChannelFuture addListener(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> listener)
      Specified by:
      addListener in interface io.netty.channel.ChannelFuture
      Specified by:
      addListener in interface io.netty.util.concurrent.Future<Void>
    • addListeners

      public io.netty.channel.ChannelFuture addListeners(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>>... listeners)
      Specified by:
      addListeners in interface io.netty.channel.ChannelFuture
      Specified by:
      addListeners in interface io.netty.util.concurrent.Future<Void>
    • removeListener

      public io.netty.channel.ChannelFuture removeListener(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> listener)
      Specified by:
      removeListener in interface io.netty.channel.ChannelFuture
      Specified by:
      removeListener in interface io.netty.util.concurrent.Future<Void>
    • removeListeners

      public io.netty.channel.ChannelFuture removeListeners(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>>... listeners)
      Specified by:
      removeListeners in interface io.netty.channel.ChannelFuture
      Specified by:
      removeListeners in interface io.netty.util.concurrent.Future<Void>
    • sync

      public io.netty.channel.ChannelFuture sync() throws InterruptedException
      Specified by:
      sync in interface io.netty.channel.ChannelFuture
      Specified by:
      sync in interface io.netty.util.concurrent.Future<Void>
      Throws:
      InterruptedException
    • syncUninterruptibly

      public io.netty.channel.ChannelFuture syncUninterruptibly()
      Specified by:
      syncUninterruptibly in interface io.netty.channel.ChannelFuture
      Specified by:
      syncUninterruptibly in interface io.netty.util.concurrent.Future<Void>
    • await

      public io.netty.channel.ChannelFuture await() throws InterruptedException
      Specified by:
      await in interface io.netty.channel.ChannelFuture
      Specified by:
      await in interface io.netty.util.concurrent.Future<Void>
      Throws:
      InterruptedException
    • awaitUninterruptibly

      public io.netty.channel.ChannelFuture awaitUninterruptibly()
      Specified by:
      awaitUninterruptibly in interface io.netty.channel.ChannelFuture
      Specified by:
      awaitUninterruptibly in interface io.netty.util.concurrent.Future<Void>
    • await

      public boolean await(long timeout, TimeUnit unit) throws InterruptedException
      Specified by:
      await in interface io.netty.util.concurrent.Future<Void>
      Throws:
      InterruptedException
    • await

      public boolean await(long timeoutMillis) throws InterruptedException
      Specified by:
      await in interface io.netty.util.concurrent.Future<Void>
      Throws:
      InterruptedException
    • awaitUninterruptibly

      public boolean awaitUninterruptibly(long timeout, TimeUnit unit)
      Specified by:
      awaitUninterruptibly in interface io.netty.util.concurrent.Future<Void>
    • awaitUninterruptibly

      public boolean awaitUninterruptibly(long timeoutMillis)
      Specified by:
      awaitUninterruptibly in interface io.netty.util.concurrent.Future<Void>
    • getNow

      public Void getNow()
      Specified by:
      getNow in interface io.netty.util.concurrent.Future<Void>
    • cancel

      public boolean cancel(boolean mayInterruptIfRunning)
      Specified by:
      cancel in interface io.netty.util.concurrent.Future<Void>
      Specified by:
      cancel in interface Future<Void>
    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface Future<Void>
    • isDone

      public boolean isDone()
      Specified by:
      isDone in interface Future<Void>
    • get

      Specified by:
      get in interface Future<Void>
      Throws:
      InterruptedException
      ExecutionException
    • get

      public Void get(long timeout, @NotNull @NotNull TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
      Specified by:
      get in interface Future<Void>
      Throws:
      InterruptedException
      ExecutionException
      TimeoutException
    • isVoid

      public boolean isVoid()
      Specified by:
      isVoid in interface io.netty.channel.ChannelFuture