Issue Details (XML | Word | Printable)

Key: DIRMINA-122
Type: Improvement Improvement
Status: Closed Closed
Resolution: Duplicate
Priority: Major Major
Assignee: Trustin Lee
Reporter: Trustin Lee
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
MINA

Initial IoFilterChain parameter in IoAcceptor.bind(...)

Created: 14/Nov/05 06:58 PM   Updated: 01/Dec/05 02:50 PM
Return to search
Component/s: None
Affects Version/s: 0.8.0
Fix Version/s: 0.9.0

Time Tracking:
Not Specified

Resolution Date: 01/Dec/05 02:50 PM


 Description  « Hide
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.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Niklas Therning made changes - 29/Nov/05 03:37 PM
Field Original Value New Value
Assignee Trustin Lee [ trustin ] Niklas Therning [ niklas@trillian.se ]
Niklas Therning made changes - 29/Nov/05 03:38 PM
Status Open [ 1 ] In Progress [ 3 ]
Trustin Lee made changes - 01/Dec/05 09:44 AM
Assignee Niklas Therning [ niklas@trillian.se ] Trustin Lee [ trustin ]
Niklas Therning made changes - 01/Dec/05 09:44 AM
Status In Progress [ 3 ] Open [ 1 ]
Trustin Lee added a comment - 01/Dec/05 02:50 PM
This issue is a duplicate of DIRMINA-131

Trustin Lee made changes - 01/Dec/05 02:50 PM
Status Open [ 1 ] Closed [ 6 ]
Resolution Duplicate [ 3 ]