You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Jose Alberto Fernandez <ja...@cellectivity.com> on 2005/11/14 12:45:08 UTC
RE: [MINA] Created: (DIRMINA-122) Initial IoFilterChain parameter in IoAcceptor.bind(...)
If you add a parameter to the method in IoFilterCahinFactory then you do
not need to expose the implementation of IoFilterChain.
The factory will only manage interfaces.
Jose Alberto
> -----Original Message-----
> From: Trustin Lee (JIRA) [mailto:jira@apache.org]
> Sent: 14 November 2005 09:59
> To: dev@directory.apache.org
> Subject: [jira] Created: (DIRMINA-122) Initial IoFilterChain parameter
in
> IoAcceptor.bind(...)
>
> Initial IoFilterChain parameter in IoAcceptor.bind(...)
> -------------------------------------------------------
>
> Key: DIRMINA-122
> URL: http://issues.apache.org/jira/browse/DIRMINA-122
> Project: Directory MINA
> Type: Improvement
> Versions: 0.8
> Reporter: Trustin Lee
> Assigned to: Trustin Lee
> Fix For: 0.9
>
>
> There is no way to specify the initial IoFilterChain when a user binds
his
> or her IoHandler. Users could add their filters in sessionCreated(),
but
> it is sometimes inefficient because the filter should be added to all
> sessions. So we need these additional methods:
>
> * IoAcceptor.bind(SocketAddress, IoHandler, IoFilterChainFactory)
> * IoAcceptor.bind(SocketAddress, IoHandler, IoFilterChain)
>
> and two types:
>
> public interface IoFilterChainFactory
> {
> IoFilterChain getFilterChain();
> }
>
> public class <TBD> implements IoFilterChain {
> ....
> }
>
> Perhaps the second method can be implemented as an indirect call to
the
> first method.
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the
administrators:
> http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see:
> http://www.atlassian.com/software/jira