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

Reply via email to