Asynchronous Reply to the Same Socket/Channel/Connection

zx spectrum webakaunt at gmail.com
Wed Sep 21 23:27:11 EDT 2011


We receive messages from the socket, defrag them and put the onto an in
memory queue. Later on some process takes the message from that queue, does
things with the message, and in some cases it needs to send something back
using the same Channel / Socket / Connection.

Messages that are put on the queue are completely decoupled from Netty.

The process that "does something" with the message is not aware of Netty
either.

The question is what would be the most elegant way to send something (back)
through the same Channel, after the message was handed off to some not Netty
components?

Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20110921/954e7760/attachment.html 


More information about the netty-users mailing list