net.tomp2p.simgrid
Class DummyChannelFuture
java.lang.Object
net.tomp2p.simgrid.DummyChannelFuture
- All Implemented Interfaces:
- org.jboss.netty.channel.ChannelFuture
public class DummyChannelFuture
- extends Object
- implements org.jboss.netty.channel.ChannelFuture
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DummyChannelFuture
public DummyChannelFuture(org.jboss.netty.channel.Channel channel)
addListener
public void addListener(org.jboss.netty.channel.ChannelFutureListener listener)
- Specified by:
addListener in interface org.jboss.netty.channel.ChannelFuture
await
public org.jboss.netty.channel.ChannelFuture await()
throws InterruptedException
- Specified by:
await in interface org.jboss.netty.channel.ChannelFuture
- Throws:
InterruptedException
await
public boolean await(long timeoutMillis)
throws InterruptedException
- Specified by:
await in interface org.jboss.netty.channel.ChannelFuture
- Throws:
InterruptedException
await
public boolean await(long timeout,
TimeUnit unit)
throws InterruptedException
- Specified by:
await in interface org.jboss.netty.channel.ChannelFuture
- Throws:
InterruptedException
awaitUninterruptibly
public org.jboss.netty.channel.ChannelFuture awaitUninterruptibly()
- Specified by:
awaitUninterruptibly in interface org.jboss.netty.channel.ChannelFuture
awaitUninterruptibly
public boolean awaitUninterruptibly(long timeoutMillis)
- Specified by:
awaitUninterruptibly in interface org.jboss.netty.channel.ChannelFuture
awaitUninterruptibly
public boolean awaitUninterruptibly(long timeout,
TimeUnit unit)
- Specified by:
awaitUninterruptibly in interface org.jboss.netty.channel.ChannelFuture
cancel
public boolean cancel()
- Specified by:
cancel in interface org.jboss.netty.channel.ChannelFuture
getCause
public Throwable getCause()
- Specified by:
getCause in interface org.jboss.netty.channel.ChannelFuture
getChannel
public org.jboss.netty.channel.Channel getChannel()
- Specified by:
getChannel in interface org.jboss.netty.channel.ChannelFuture
isCancelled
public boolean isCancelled()
- Specified by:
isCancelled in interface org.jboss.netty.channel.ChannelFuture
isDone
public boolean isDone()
- Specified by:
isDone in interface org.jboss.netty.channel.ChannelFuture
isSuccess
public boolean isSuccess()
- Specified by:
isSuccess in interface org.jboss.netty.channel.ChannelFuture
removeListener
public void removeListener(org.jboss.netty.channel.ChannelFutureListener listener)
- Specified by:
removeListener in interface org.jboss.netty.channel.ChannelFuture
setFailure
public boolean setFailure(Throwable cause)
- Specified by:
setFailure in interface org.jboss.netty.channel.ChannelFuture
setSuccess
public boolean setSuccess()
- Specified by:
setSuccess in interface org.jboss.netty.channel.ChannelFuture
setProgress
public boolean setProgress(long arg0,
long arg1,
long arg2)
- Specified by:
setProgress in interface org.jboss.netty.channel.ChannelFuture
rethrowIfFailed
public org.jboss.netty.channel.ChannelFuture rethrowIfFailed()
throws Exception
- Specified by:
rethrowIfFailed in interface org.jboss.netty.channel.ChannelFuture
- Throws:
Exception
Copyright © 2012. All Rights Reserved.