mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Goldstein Lyor (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SSHD-403) Lay down the groundwork for more event listeners
Date Mon, 19 Jan 2015 06:52:35 GMT
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)

Mime
View raw message