Hi Alwyn, Did you get what Trustin explain?
2007/5/20, Alwyn Schoeman <[EMAIL PROTECTED]>:
I agree with mat-29. In order for DemuxingProtocolCodecFactory to call a specific Decoder or Encoder, it will need to know what the type of the message is. Question is, how does it know? Does it assume a specific value at a specific offset in the data stream? Does it call all the Decoders in sequence until a Decoder acknowledges that it is meant for it? (Hope not) Can you specify the matching logic in the extending class? Assume you have to handle different messages from different established protocols (cannot redesign), how would you handle that? -- View this message in context: http://www.nabble.com/How-can-I-configure-multiple-decoders-in-MINA--tf3561571.html#a10699327 Sent from the mina dev mailing list archive at Nabble.com.
