mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SSHD-114) Session listener
Date Tue, 05 Apr 2011 11:07:05 GMT

    [ https://issues.apache.org/jira/browse/SSHD-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13015855#comment-13015855
] 

Guillaume Nodet commented on SSHD-114:
--------------------------------------

Hi Cédric,
While reviewing this patch, it occured to me that it may be better to add the listeners for
sessions at a upper level so that the listeners could be informed when sessions are created.
I think that would be more symetric and would allow a single listener to be registered instead
of having to register it for each session.

> Session listener
> ----------------
>
>                 Key: SSHD-114
>                 URL: https://issues.apache.org/jira/browse/SSHD-114
>             Project: MINA SSHD
>          Issue Type: Improvement
>            Reporter: Cédric Chantepie
>              Labels: listener, session
>             Fix For: 0.5.0
>
>         Attachments: slistener.patch
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> Allow to add listener for major event (such as when |close| method is fired) about SSH
Session instance.
> Currently I've worked around by implementing my own SessionFactory, which itself return
custom Session instances supporting such listener.
> With a listener on standard/provided Session instance may not require user to to do such
custom implementations.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message