users@grizzly.java.net

Reassembling data in multiple calls to the ProtocolFilter

From: GarthW <garth.waters_at_dstvo.com>
Date: Wed, 15 Dec 2010 04:50:05 -0800 (PST)

If the data in a socket read is too large for a single call to the execute
method in a Custom Protocol filter, how to I maintain state and reassemple
all the parts, of the multiple reads, once the socket is completely read.
How would I know which is the last read?

A code snippet would be greatly appreciated.
-- 
View this message in context: http://old.nabble.com/Reassembling-data-in-multiple-calls-to-the-ProtocolFilter-tp30463495p30463495.html
Sent from the Grizzly - Users mailing list archive at Nabble.com.