Goldstein Lyor created SSHD-403:
-----------------------------------
Summary: 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
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)