net.gleamynode.netty.channel
Class CompleteChannelFuture
java.lang.Object
net.gleamynode.netty.channel.CompleteChannelFuture
- All Implemented Interfaces:
- ChannelFuture
- Direct Known Subclasses:
- FailedChannelFuture, SucceededChannelFuture
public abstract class CompleteChannelFuture
- extends Object
- implements ChannelFuture
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompleteChannelFuture
protected CompleteChannelFuture(Channel channel)
addListener
public void addListener(ChannelFutureListener listener)
- Specified by:
addListener in interface ChannelFuture
removeListener
public void removeListener(ChannelFutureListener listener)
- Specified by:
removeListener in interface ChannelFuture
await
public ChannelFuture await()
throws InterruptedException
- Specified by:
await in interface ChannelFuture
- Throws:
InterruptedException
await
public boolean await(long timeout,
TimeUnit unit)
throws InterruptedException
- Specified by:
await in interface ChannelFuture
- Throws:
InterruptedException
await
public boolean await(long timeoutMillis)
throws InterruptedException
- Specified by:
await in interface ChannelFuture
- Throws:
InterruptedException
awaitUninterruptibly
public ChannelFuture awaitUninterruptibly()
- Specified by:
awaitUninterruptibly in interface ChannelFuture
awaitUninterruptibly
public boolean awaitUninterruptibly(long timeout,
TimeUnit unit)
- Specified by:
awaitUninterruptibly in interface ChannelFuture
awaitUninterruptibly
public boolean awaitUninterruptibly(long timeoutMillis)
- Specified by:
awaitUninterruptibly in interface ChannelFuture
getChannel
public Channel getChannel()
- Specified by:
getChannel in interface ChannelFuture
isDone
public boolean isDone()
- Specified by:
isDone in interface ChannelFuture
setFailure
public void setFailure(Throwable cause)
- Specified by:
setFailure in interface ChannelFuture
setSuccess
public void setSuccess()
- Specified by:
setSuccess in interface ChannelFuture
cancel
public boolean cancel()
- Specified by:
cancel in interface ChannelFuture
isCancelled
public boolean isCancelled()
- Specified by:
isCancelled in interface ChannelFuture
Copyright © 2008-Present Trustin Heuiseung Lee. All Rights Reserved.