Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-403

Lay down the groundwork for more event listeners

    XMLWordPrintableJSON

Details

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

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            lgoldstein Lyor Goldstein
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: