About IdleStateAwareChannelHandler
"이희승 (Trustin Lee)"
trustin at gmail.com
Tue Nov 9 05:50:13 EST 2010
Hi William,
Please use bootstrap.setPipelineFactory() instead of
bootstrap.getPipeline(), then it will work as expected.
IIRC, I modified all documentation and examples to use
bootstrap.setPipelineFactory() only. Where did you get the example?
HTH
William Anthony wrote:
> Hi, I'm little confused with the project I'm working on. It's using
> IdleStateAwareChannelHandler as server handler. I've attached test case
> files. Please try using 3 or more client to test with.
>
> The result should be every client connected will be pinged and reply.
> The fact is :
> - there was a quite long delay for the client to be pinged after it's
> connected.
> - sometimes disconnected client will triggers others for disconnect too, or
> even stuck --not pinged any more, and when the client is disconnected at
> client side, server side still reported that this client is still connected.
>
> Could someone point me out the solution, maybe I did mistake in my code.
> Thanks.
>
> http://netty-forums-and-mailing-lists.685743.n2.nabble.com/file/n5700067/src.zip
> src.zip
--
Trustin Lee - http://gleamynode.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 290 bytes
Desc: OpenPGP digital signature
Url : http://lists.jboss.org/pipermail/netty-users/attachments/20101109/3872062b/attachment.bin
More information about the netty-users
mailing list