public class FutureChannel extends BaseFutureImpl<FutureChannel>
BaseFuture.FutureTypecompleted, lock, reason, type| Constructor and Description |
|---|
FutureChannel()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.jboss.netty.channel.Channel |
getChannel() |
org.jboss.netty.channel.ChannelFuture |
getChannelFuture() |
boolean |
isAcquired() |
void |
setAcquired(boolean semaphoreAcquired2)
Set a flag if a semaphore has been acquired for this channel.
|
void |
setChannel(org.jboss.netty.channel.Channel channel)
Finishes this future.
|
void |
setChannelFuture(org.jboss.netty.channel.ChannelFuture channelFuture2)
Set the channel future.
|
addCancellation, addListener, addListener, await, await, awaitListeners, awaitUninterruptibly, awaitUninterruptibly, cancel, getFailedReason, getType, isCompleted, isFailed, isSuccess, notifyListerenrs, removeListener, self, setCompletedAndNotify, setFailed, setFailed, setFailed, setFailed, setFailedpublic void setChannel(org.jboss.netty.channel.Channel channel)
channel - The created UDP or TCP Netty channelpublic org.jboss.netty.channel.Channel getChannel()
public void setAcquired(boolean semaphoreAcquired2)
semaphoreAcquired2 - True if we already could acquire a semaphorepublic boolean isAcquired()
public void setChannelFuture(org.jboss.netty.channel.ChannelFuture channelFuture2)
channelFuture2 - The future of the channel that will be connectedpublic org.jboss.netty.channel.ChannelFuture getChannelFuture()
Copyright © 2013. All Rights Reserved.