You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2009/06/07 09:58:07 UTC
[jira] Closed: (DIRMINA-252) SessionLifecycleListener for
listeneing an IoService for listening created/closed sessions
[ https://issues.apache.org/jira/browse/DIRMINA-252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny closed DIRMINA-252.
-------------------------------------
> SessionLifecycleListener for listeneing an IoService for listening created/closed sessions
> ------------------------------------------------------------------------------------------
>
> Key: DIRMINA-252
> URL: https://issues.apache.org/jira/browse/DIRMINA-252
> Project: MINA
> Issue Type: Improvement
> Reporter: Julien Vermillard
> Assignee: 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.
-
You can reply to this email to add a comment to the issue online.