Hi, As you know, MINA 2.0 allows you to stack multiple protocol codec filters to help you implement multi-layered protocols.
Yesterday, Maarten added PrefixedString codec which is similar to TextLine codec. During talking to David Lloyd, I realized that the only difference between them is just in how they frame packets. The part that reads a string doesn't differ at all. Therefore, it might be a good idea to reorganize these codecs into the following layout: +--------------------------------------------------------------------+ | String codec | +-----------------------------------+--------------------------------+ | Delimiter-based msg framing codec | Length-based msg framing codec | +-----------------------------------+--------------------------------+ The advantage of this redesign is that users who doesn't need String conversion still can get help of the message framing codecs. WDYT? Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP Key ID: 0x0255ECA6
