[jira] [Commented] (SSHD-114) Session listener

2011-04-05 Thread Guillaume Nodet (JIRA)

[ 
https://issues.apache.org/jira/browse/SSHD-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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


[jira] [Commented] (SSHD-114) Session listener

2011-04-05 Thread JIRA

[ 
https://issues.apache.org/jira/browse/SSHD-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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


[jira] Commented: (SSHD-114) Session listener

2011-03-11 Thread Bernd Fondermann (JIRA)

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

Bernd Fondermann commented on SSHD-114:
---

Cédric, do you want to contribute a patch?

 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

   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


[jira] Commented: (SSHD-114) Session listener

2011-03-11 Thread JIRA

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

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

I can try

 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

   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