Actually i had same questions, I am implementing a Gateway proxy server which should understand 2 different protocols. Should I use IF ELSE method in my own message decoder class? However, I don't think it is a good approach since it prevents adding new protocols. Any good idea?
2007/4/17, Trustin Lee <[EMAIL PROTECTED]>:
Hi Yogs, On 4/12/07, Yogs <[EMAIL PROTECTED]> wrote: > > Hi, > > Can I register more than one Encoders and Decoders to ProtocolCodecFactory > which is extended from mina's DemuxingProtocolCodecFactory? > Or we can have only one decoder and encoder registered as demonstrated in > SumUp example? > How can I configure multiple decoders in MINA? Could you explain the protocol you want to implement more in detail? Do you just want to merge two codecs into one, or to implement multi-layered protocol? Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP Key ID: 0x0255ECA6
