Hi, i need to manage an ad-hoc protocol over TCP connections with high
performance.
In each tcp connection i have to manage a multiple message exchange,
with acks and retransmissions.
I was trying to use a Filter to do it but i have the following
problems:
- messages are splittet in pieces and it call "handleRead" more times.
I would manage the listening of the complete packet and parse it;
- i need to manage timeouts while the packet is coming. If the packet
isn't completely received i need to send a "nack". How i can do it over
a Filter?
Is Filter the best way to do it or i can use other Grizzly Object to
make it?
Maybe i need to extend some class and implement something.
I hope that you can help me.
Thanks
R