goldengate.common.future
Class GgChannelFuture
java.lang.Object
goldengate.common.future.GgFuture
goldengate.common.future.GgChannelFuture
public class GgChannelFuture
- extends GgFuture
Future that hold a channel as result
- Author:
- Frederic Bregier
Method Summary |
org.jboss.netty.channel.Channel |
getChannel()
|
void |
setChannel(org.jboss.netty.channel.Channel channel)
|
Methods inherited from class goldengate.common.future.GgFuture |
await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cancel, getCause, isCancelled, isDone, isFailed, isSuccess, rethrowIfFailed, setFailure, setSuccess |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GgChannelFuture
public GgChannelFuture()
GgChannelFuture
public GgChannelFuture(boolean cancellable)
- Parameters:
cancellable
-
getChannel
public org.jboss.netty.channel.Channel getChannel()
- Returns:
- the channel as result
setChannel
public void setChannel(org.jboss.netty.channel.Channel channel)
- Parameters:
channel
- the channel to set
Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.