net.gleamynode.netty.channel
Interface ChannelFuture
- All Known Implementing Classes:
- CompleteChannelFuture, DefaultChannelFuture, FailedChannelFuture, SucceededChannelFuture
public interface ChannelFuture
- Version:
- $Rev$, $Date$
- Author:
- The Netty Project (netty@googlegroups.com), Trustin Lee (trustin@gmail.com)
getChannel
Channel getChannel()
isDone
boolean isDone()
isCancelled
boolean isCancelled()
isSuccess
boolean isSuccess()
getCause
Throwable getCause()
cancel
boolean cancel()
setSuccess
void setSuccess()
setFailure
void setFailure(Throwable cause)
addListener
void addListener(ChannelFutureListener listener)
removeListener
void removeListener(ChannelFutureListener listener)
await
ChannelFuture await()
throws InterruptedException
- Throws:
InterruptedException
awaitUninterruptibly
ChannelFuture awaitUninterruptibly()
await
boolean await(long timeout,
TimeUnit unit)
throws InterruptedException
- Throws:
InterruptedException
await
boolean await(long timeoutMillis)
throws InterruptedException
- Throws:
InterruptedException
awaitUninterruptibly
boolean awaitUninterruptibly(long timeout,
TimeUnit unit)
awaitUninterruptibly
boolean awaitUninterruptibly(long timeoutMillis)
Copyright © 2008-Present Trustin Heuiseung Lee. All Rights Reserved.