Synchronous close

Norman Maurer norman.maurer at googlemail.com
Thu May 6 01:01:47 EDT 2010


Sure there is :

ChannelFuture future = e.getChannel().close();
future.awaitUninterruptibly();

But be are of some problems. Just read this:

http://docs.jboss.org/netty/api/3.1/org/jboss/netty/channel/ChannelFuture.html

Bye,
Norman



2010/5/5 Luís M. Costa <luis.m.costa at gmail.com>:
>
> Hi,
>
>  Is there any way to do a synchronous close in Netty? Channel.close() is
> asynchronous.
>
>  Thanks,
>     Luís M. Costa
> --
> View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Synchronous-close-tp5008489p5008489.html
> Sent from the Netty User Group mailing list archive at Nabble.com.
>
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users



More information about the netty-users mailing list