On Oct 24, 2007, at 1:56 PM, Brian McCallister wrote:
A stronger approach would be to explicitly check the generic type via reflection and raise an exception at bind() or connect() time. In this case the In and Out types for the filter chain would be compared for compatibility, and the final out on the filter chain compared to the In on the handler. This would allow for raising an illegal state exception describing the message type problem as early as possible. Once running implicit casts are used for actual dispatch so as not to impact performance.Thoughts?
sounds great! and of course you know the drill... patches welcome! :) -pete -- [EMAIL PROTECTED] - http://fotap.org/~osi
smime.p7s
Description: S/MIME cryptographic signature
