net.gleamynode.netty.channel
Interface ChannelFuture

All Known Implementing Classes:
CompleteChannelFuture, DefaultChannelFuture, FailedChannelFuture, SucceededChannelFuture

public interface ChannelFuture

Version:
$Rev$, $Date$
Author:
The Netty Project (netty@googlegroups.com), Trustin Lee (trustin@gmail.com)

Method Summary
 void addListener(ChannelFutureListener listener)
           
 ChannelFuture await()
           
 boolean await(long timeoutMillis)
           
 boolean await(long timeout, TimeUnit unit)
           
 ChannelFuture awaitUninterruptibly()
           
 boolean awaitUninterruptibly(long timeoutMillis)
           
 boolean awaitUninterruptibly(long timeout, TimeUnit unit)
           
 boolean cancel()
           
 Throwable getCause()
           
 Channel getChannel()
           
 boolean isCancelled()
           
 boolean isDone()
           
 boolean isSuccess()
           
 void removeListener(ChannelFutureListener listener)
           
 void setFailure(Throwable cause)
           
 void setSuccess()
           
 

Method Detail

getChannel

Channel getChannel()

isDone

boolean isDone()

isCancelled

boolean isCancelled()

isSuccess

boolean isSuccess()

getCause

Throwable getCause()

cancel

boolean cancel()

setSuccess

void setSuccess()

setFailure

void setFailure(Throwable cause)

addListener

void addListener(ChannelFutureListener listener)

removeListener

void removeListener(ChannelFutureListener listener)

await

ChannelFuture await()
                    throws InterruptedException
Throws:
InterruptedException

awaitUninterruptibly

ChannelFuture awaitUninterruptibly()

await

boolean await(long timeout,
              TimeUnit unit)
              throws InterruptedException
Throws:
InterruptedException

await

boolean await(long timeoutMillis)
              throws InterruptedException
Throws:
InterruptedException

awaitUninterruptibly

boolean awaitUninterruptibly(long timeout,
                             TimeUnit unit)

awaitUninterruptibly

boolean awaitUninterruptibly(long timeoutMillis)


Copyright © 2008-Present Trustin Heuiseung Lee. All Rights Reserved.