directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trustin Lee <>
Subject Re: [jira] Commented: (DIRMINA-121) Per-port filter chain
Date Thu, 17 Nov 2005 12:22:35 GMT
2005/11/17, Jose Alberto Fernandez <>:
>  I just looked again at the interface IofilterChain there are methods
> there:
> NextFilter getNextFilter( IoFilter filter );
> NextFilter getNextFilter( String name );
> And of course I can get to the IoFilterChain from the session. So the API
> is already there, I am not adding anything.

I made a mistake. I thought you used as if it is in IoSession. I'm sorry.

So, as your filter needs to remember the session, there is no need for it to
> remember NextFilter.
Right, there's no need to remember NextFilter with getNextFilter() methods.
But it doesn't mean that IoFilterChain can update the reference to
NextFilter in runtime because it will raise concurrency issue definitely.

what we call human nature is actually human habit

View raw message