Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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.