Hi<div><br></div><div>I want to encode/decode a message with a fixed length header followed by a payload of multiple TLVs (Tag-Length-Value).</div><div>The header will tell the message type, as well as the total size of the payload.</div>
<div><br></div><div>How do you suggest to implement this kind of codec?</div><div><br></div><div>I&#39;m thinking to have one handler that is to encode/decode the fixed length header, and wait for the entire payload,</div>
<div>followed by another handler for the payload.</div><div><br></div><div>Do you think this is right way?</div><div><br></div><div><br></div><div>I&#39;m still studying the Netty handler though, hoping to get a earlier direction :-)</div>
<div><br clear="all"><br>-- <br><br>Hez<br>
</div>