Thanks for the quick fix.
Another matter around Demux, is that
currently it only looks at super-interfaces if a direct match is not found,
But it does not look at super-classes.
This is annoying when you have protocols that extend all messages from some
particular superclass and you want to be able to treat groups of messages the
same way (like ignoring them).
Also, it may be interesting to see if
there is a good way to cache the resolution of super-interfaces and super-classes
in order to make such code more efficient. You will just need to make sure that
the cache is flushed when MessageHandlers are added or removed.
Keep the good work,
Trustin Lee [mailto:firstname.lastname@example.org]
Sent: 03 November 2005 01:11
Directory Developers List
Subject: Re: [MINA] MessageHandler
2005/10/31, Jose Alberto Fernandez <email@example.com>:
It there any reason why
not allow throwing an Exception? I would have thought the signature
should be similar to
This means you need to treat error conditions differently depending if
you use one implementation strategy or another.
what we call human nature is actually human habit