mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cédric Chantepie (JIRA) <j...@apache.org>
Subject [jira] [Commented] (SSHD-114) Session listener
Date Tue, 05 Apr 2011 12:19:05 GMT

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

Cédric Chantepie commented on SSHD-114:
---------------------------------------

In current patch, listeners are also added at SessionFactory level. As far as I understand
it could match your expectation.
As for listeners at Session level, I have thought that some people would prefer to "monitor"
not all session but just some of them. 
It could be removed if no one think it could be useful.

> 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