|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.netty.channel.CompleteChannelFuture
org.jboss.netty.channel.SucceededChannelFuture
public class SucceededChannelFuture
The CompleteChannelFuture
which is succeeded already. It is
recommended to use Channels.succeededFuture(Channel)
instead of
calling the constructor of this future.
Constructor Summary | |
---|---|
SucceededChannelFuture(Channel channel)
Creates a new instance. |
Method Summary | |
---|---|
java.lang.Throwable |
getCause()
Returns the cause of the failed I/O operation if the I/O operation has failed. |
boolean |
isSuccess()
Returns true if and only if the I/O operation was completed
successfully. |
Methods inherited from class org.jboss.netty.channel.CompleteChannelFuture |
---|
addListener, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cancel, getChannel, isCancelled, isDone, removeListener, setFailure, setProgress, setSuccess |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SucceededChannelFuture(Channel channel)
channel
- the Channel
associated with this futureMethod Detail |
---|
public java.lang.Throwable getCause()
ChannelFuture
null
if succeeded or this future is not
completed yet.public boolean isSuccess()
ChannelFuture
true
if and only if the I/O operation was completed
successfully.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |