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>
-
Nested Class Summary
Nested classes/interfaces inherited from interface Future
Future.State -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.netty.channel.ChannelFutureaddListener(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> listener) io.netty.channel.ChannelFutureaddListeners(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>>... listeners) io.netty.channel.ChannelFutureawait()booleanawait(long timeoutMillis) booleanio.netty.channel.ChannelFuturebooleanawaitUninterruptibly(long timeoutMillis) booleanawaitUninterruptibly(long timeout, TimeUnit unit) booleancancel(boolean mayInterruptIfRunning) cause()io.netty.channel.Channelchannel()static InvalidVoidChannelFuturecreate()get()getNow()booleanbooleanbooleanisDone()booleanbooleanisVoid()io.netty.channel.ChannelFutureremoveListener(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> listener) io.netty.channel.ChannelFutureremoveListeners(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>>... listeners) io.netty.channel.ChannelFuturesync()io.netty.channel.ChannelFutureMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Future
exceptionNow, resultNow, state
-
Constructor Details
-
InvalidVoidChannelFuture
public InvalidVoidChannelFuture()
-
-
Method Details
-
create
-
channel
public io.netty.channel.Channel channel()- Specified by:
channelin interfaceio.netty.channel.ChannelFuture
-
isSuccess
public boolean isSuccess()- Specified by:
isSuccessin interfaceio.netty.util.concurrent.Future<Void>
-
isCancellable
public boolean isCancellable()- Specified by:
isCancellablein interfaceio.netty.util.concurrent.Future<Void>
-
cause
-
addListener
public io.netty.channel.ChannelFuture addListener(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> listener) - Specified by:
addListenerin interfaceio.netty.channel.ChannelFuture- Specified by:
addListenerin interfaceio.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:
addListenersin interfaceio.netty.channel.ChannelFuture- Specified by:
addListenersin interfaceio.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:
removeListenerin interfaceio.netty.channel.ChannelFuture- Specified by:
removeListenerin interfaceio.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:
removeListenersin interfaceio.netty.channel.ChannelFuture- Specified by:
removeListenersin interfaceio.netty.util.concurrent.Future<Void>
-
sync
- Specified by:
syncin interfaceio.netty.channel.ChannelFuture- Specified by:
syncin interfaceio.netty.util.concurrent.Future<Void>- Throws:
InterruptedException
-
syncUninterruptibly
public io.netty.channel.ChannelFuture syncUninterruptibly()- Specified by:
syncUninterruptiblyin interfaceio.netty.channel.ChannelFuture- Specified by:
syncUninterruptiblyin interfaceio.netty.util.concurrent.Future<Void>
-
await
- Specified by:
awaitin interfaceio.netty.channel.ChannelFuture- Specified by:
awaitin interfaceio.netty.util.concurrent.Future<Void>- Throws:
InterruptedException
-
awaitUninterruptibly
public io.netty.channel.ChannelFuture awaitUninterruptibly()- Specified by:
awaitUninterruptiblyin interfaceio.netty.channel.ChannelFuture- Specified by:
awaitUninterruptiblyin interfaceio.netty.util.concurrent.Future<Void>
-
await
- Specified by:
awaitin interfaceio.netty.util.concurrent.Future<Void>- Throws:
InterruptedException
-
await
- Specified by:
awaitin interfaceio.netty.util.concurrent.Future<Void>- Throws:
InterruptedException
-
awaitUninterruptibly
-
awaitUninterruptibly
public boolean awaitUninterruptibly(long timeoutMillis) - Specified by:
awaitUninterruptiblyin interfaceio.netty.util.concurrent.Future<Void>
-
getNow
-
cancel
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelledin interfaceFuture<Void>
-
isDone
-
get
- Specified by:
getin interfaceFuture<Void>- Throws:
InterruptedExceptionExecutionException
-
get
public Void get(long timeout, @NotNull @NotNull TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException - Specified by:
getin interfaceFuture<Void>- Throws:
InterruptedExceptionExecutionExceptionTimeoutException
-
isVoid
public boolean isVoid()- Specified by:
isVoidin interfaceio.netty.channel.ChannelFuture
-