directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Irving, Dave" <>
Subject RE: [jira] Commented: (DIRMINA-121) Per-port filter chain
Date Thu, 17 Nov 2005 10:22:39 GMT
Niklas Therning Wrote:

> Hi,

> To me this issue seems to be getting increasingly complex. 
> Maybe it has been suggested before but wouldn't it be possible to
> only the filters for a session manager and port and create the one and
> session chain when a new session is created?

That's the simplest and cleanest way to do it.
The only thing that worries me here is that acceptor / port filters will
be added to each and every session chain.
This means they will be "init"ed and "destroy"ed per session.
If this isn't a problem - then we can roll with the simple solution.
However, Trustin was talking about filter implementations caching their
NextFilters so that events can be propogated asyncronously (and this
gets harder for filter implementors to do when these filters are reused
in multiple sessions).

If that's not a problem though, it sounds like the simplest thing to do!

My solution would have a moderately complex ** implementation ** but the
api to users would be the same as it is today, whilst keeping shared
filters only getting inited once, with a single (smart) NextFilter.

Im up for implementing either solution: But each has its own
consequences :o)


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.

View raw message