Niklas Therning wrote: 

> To me this issue seems to be getting increasingly complex. 

Actually, the more coffee I drink this morning, and the more I think
about this, the implementation isn't all that hard at all. And the way
it would be implemented, users (i.e. filter implementors and chain
users) see no difference in behaviour from what they have today (other
than being able to specify acceptor / port filters).

We just have a SessionChain implementation which manages the flow per
session, and slighly modify the internals of AbstractIoFilterChain so
that its NextFilters can be decorated (again, users don't see this - its
an implementation detail).
I think the result could give users all the flexibility they desire
(full chain control) without requiring copies etc.

Dave


This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.

Reply via email to