[ 
https://issues.apache.org/jira/browse/SSHD-403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Goldstein Lyor updated SSHD-403:
--------------------------------
    Attachment: 0014-SSHD-403-Lay-down-the-groundwork-for-more-event-list.patch

Attached recommended code change

> Lay down the groundwork for more event listeners
> ------------------------------------------------
>
>                 Key: SSHD-403
>                 URL: https://issues.apache.org/jira/browse/SSHD-403
>             Project: MINA SSHD
>          Issue Type: Improvement
>            Reporter: Goldstein Lyor
>         Attachments: 
> 0014-SSHD-403-Lay-down-the-groundwork-for-more-event-list.patch
>
>
> I would like to add more event listeners to the SSHD - e.g., 
> _ScpEventListener_, _SftpEventListener_, _TcpIpForwardingEventListener_ - in 
> a similar manner that _SessionListener_ is used. In order to facilitate this 
> I have made the following changes:
> * _SessionListener_ extends _EventListener_ - which is the Java "standard" 
> marker for such interfaces
> * Added a proxy wrapper around such listeners in order to avoid the ```for 
> (Listener l : listeners) { l.signalSomeEvent(...) }``` pattern again and 
> again.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to