[ http://issues.apache.org/jira/browse/DIRMINA-252?page=all ]
Trustin Lee resolved DIRMINA-252.
---------------------------------
Resolution: Duplicate
Assignee: Trustin Lee
This is a duplicate of DIRMINA-238
> SessionLifecycleListener for listeneing an IoService for listening
> created/closed sessions
> ------------------------------------------------------------------------------------------
>
> Key: DIRMINA-252
> URL: http://issues.apache.org/jira/browse/DIRMINA-252
> Project: Directory MINA
> Issue Type: Improvement
> Reporter: Julien Vermillard
> Assigned To: Trustin Lee
>
> For collecting stats on sessions, we need to listen IoService for know when
> new session are spawned or closed. With current API the only way is to poll
> the IoService.getManagedSession();
> A listener system could be more efficient :
> public interface SessionLifecycleListener {
> sessionCreated(IoSession session);
> sessionOpened(IoSession session);
> sessionClosed(IoSession session);
> }
> and the famous add/removeSessionLifeCycleListener in IoService
> WDYT ?
--
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