Message to Netty Server sometimes gets lost

"이희승 (Trustin Lee)" trustin at gmail.com
Wed Nov 10 21:22:51 EST 2010


Sorry about the late reply, Michael.

NettyMW wrote:
> 2: YDecoder is added and XDecoder is removed. YDecoder received some Data
> and in the messageReceived of the ChannelHandler the ZDecoder is added.
> Pipeline:  
> YDecoder
> idlehandler
> ChannelHandler
> 
> 
> 
> messageReceived(...) of ChannelHandler:
> e.getChannel().getPipeline().addFirst("ZDecoder", new ZDecoder());
> ChannelBuffer buffer = ...;
> e.getChannel().write(buffer); // Here i write some Data to the Client. The
> Client reads the Data and then writes some Data (StatusCode) back on the
> same connection. This Data schould be consumed by ZDecoder. But sometimes
> the decode method of ZDecoder is never called...

I don't see a reason why it would not work.  If you could provide me a
simplified test application, let me take a close look.

Thanks in advance

-- 
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/20101111/68fd8a5f/attachment.bin 


More information about the netty-users mailing list