directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trustin Lee (JIRA)" <>
Subject [jira] Created: (DIRMINA-122) Initial IoFilterChain parameter in IoAcceptor.bind(...)
Date Mon, 14 Nov 2005 09:59:27 GMT
Initial IoFilterChain parameter in IoAcceptor.bind(...)

         Key: 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:
For more information on JIRA, see:

View raw message