I'm running into an issue decoding both packets from a device that embeds commands inside it's responses.

Everything is flagged with start/stop bytes and can be parsed without problems. The problem is, at the point in the code that I'm parsing this, I'm in the guts of a specific packet-type Decoder object. This particular object cannot decode the embedded packet (it's a different type) so I need to push the embedded packet data back into Mina's framework in such a way that it's treated as new incoming data and runs through the standard decodable() sequences to find the right decoder object.

Can I do this???

Thanks in advance!
boB Gage

Reply via email to