Hi Emmanuel,

Somehow i habe completly missed The concept of of filters. You are right
They seem to fit perfectly. Just a question are iohanders even iofilters?

regrads

Max

Am 17.04.2013 um 19:16 schrieb Emmanuel Lécharny <[email protected]>:

> Le 4/17/13 6:48 PM, Max Larsson a écrit :
>> Hi,
>> 
>> The XML size is send in the front of the actual data.
> 
> Ok, fine, then you can gather the XML in a raw byte[] while decoding
> your own protocol. When done, you can parse the XML file in your
> decoder. No need to have two filters; but you can do that. The message
> sent to the next filter is just the payload (the XML data).
> 
> 
> 
> -- 
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com 
> 

Reply via email to