In my case, i have to use IF ELSE to judge which protocol, right?

2007/4/25, Trustin Lee <[EMAIL PROTECTED]>:

On 4/25/07, mat <[EMAIL PROTECTED]> wrote:
> Really? However my server is listening on one port. How messageDecoder
class
> knows different type of messages? Can you explain? Thanks.

It seems like Yogs is talking about creating multiple MessageDecoder
classes?  You can register multiple MessageDecoders and
MessageEncoders to DemuxingProtocolCodecFactory.

HTH,
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP Key ID: 0x0255ECA6

Reply via email to