Sample how to using TimeOut
Syahreza Pahlevi Ginting
rezaginting at gmail.com
Mon Jul 27 21:26:38 EDT 2009
Hi Christian,
Thank you for your reply, i figured it out.
IdleStateEvents is the feature i need. I will try to implement that.
regards,
Reza Ginting
On Mon, Jul 27, 2009 at 12:19 PM, Christian Migowski
<chrismfwrd at gmail.com>wrote:
> Hi Reza,
>
> you maybe already figured it out by yourself:
>
> The connectTimeout only applies to connect, ie. after which time the
> Future returned from a connect(...) call will indicate that the
> attempt was not successful (if the connection could not be
> established).
> If you want to have IdleStateEvents, you need to have an
> org.jboss.netty.handler.timeout.IdleStateHandler in your pipeline
> (This is different to Mina, where this idleness detection was part of
> the default active functionality).
>
> regards,
> christian!
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20090728/51895e67/attachment.html
More information about the netty-users
mailing list