[ https://issues.apache.org/jira/browse/SSHD-403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved SSHD-403. ---------------------------------- Resolution: Fixed Fix Version/s: 0.14.0 Assignee: Guillaume Nodet https://git-wip-us.apache.org/repos/asf?p=mina-sshd.git;a=commitdiff;h=7f88d3a18f9a4df77ae429ae724f4fd80b8685f5 > 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 > Assignee: Guillaume Nodet > Fix For: 0.14.0 > > 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)