directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trustin Lee (JIRA)" <>
Subject [jira] Resolved: (DIRMINA-40) Filter API needs callback for enabled notification
Date Sun, 12 Jun 2005 13:19:49 GMT
     [ ]
Trustin Lee resolved DIRMINA-40:

    Resolution: Fixed

I added init() and destroy() callback to IoFilter.  They are automatically called when a filter
is added to or removed from filter chain. AbstractIoFilterChain counts reference count of
filters to prevent chain from calling init() or destroy() multiple times in case that filters
are added more than once to different chain.

> Filter API needs callback for enabled notification
> --------------------------------------------------
>          Key: DIRMINA-40
>          URL:
>      Project: Directory MINA
>         Type: Improvement
>     Versions: 0.7.1, 0.7
>  Environment: All
>     Reporter: Vinod Panicker
>     Assignee: Trustin Lee
>     Priority: Blocker
>      Fix For: 0.9

> The Filter api currently assumes that it would be applied only on unopened sessions.
 Eg - the SSL filter currently starts its work on the sessionOpened() callback.  This is an
incorrect assumption since the SSL filter could be applied on an existing plain TCP connection
as well.
> It would be great if there were new callbacks defined  - something like filterEnabled()
and filterDisabled()
> This would allow us to use the filters on existing sessions as well.

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