directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trustin Lee (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DIRMINA-162) datagram session management fails
Date Thu, 19 Jan 2006 08:22:42 GMT
    [ http://issues.apache.org/jira/browse/DIRMINA-162?page=comments#action_12363212 ] 

Trustin Lee commented on DIRMINA-162:
-------------------------------------

This is a great idea.  We could provide a generic session tracking strategy interface so users
can choose their favorite session management method.  For instance:

/** A kind of cache? */
public interface ConnectionlessSessionTracker {
    /**
     * @return null if no session is found
     */
    IoSession getSession( SocketAddress localAddress, SocketAddress remoteAddress );
}

WDYT?

> datagram session management fails
> ---------------------------------
>
>          Key: DIRMINA-162
>          URL: http://issues.apache.org/jira/browse/DIRMINA-162
>      Project: Directory MINA
>         Type: Bug
>     Versions: 0.9
>     Reporter: Rainer Bieniek
>     Priority: Minor

>
> As of mina 0.9.0 the session management does not work in various ways:
> - a new session is created per received package. The worker thread does not cache created
session but only assign the select key to the session and drops it after processing the package.
It would be better to attach the session to the RegistrationRequest and check it while processing
the received package.
> - the provided IoFilterChainBuilder does get applied to the created datagram session.
It is cached in the RegistrationRequest but not used on the session
> - The sessionClose lifecycle event is not applied on the session either. 

-- 
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


Mime
View raw message