[email protected] wrote:
I managed to receive messages and already implemented an easy protocol
and some test filters. But that's all inbound. How do I write messages
using the same connection?
Hi Pinus,
One way to do it:
You can use the IOSession directly to queue your POJO object --
IoSession.write(). Using the ProtocolCodecFactory and a suitable
ProtocolEncoder (you may need to write one of these depending on your
requirements), you should be able to serialize the POJO to a byte stream.
-Johnny