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

Change ClientSessionImpl SshClient constructor argument from SshClient to FactoryManager

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.2.0
    • None
    • N/A

    Description

      ClientSessionImpl takes SshClient as an argument and passes it to AbstractSession (which is its super). AbstractSession stores this as FactoryManager type and I cannot see that the argument is used as SshClient type.

      Suggest changing ClientSessionImpl constructor SshClient argument to FactoryManager so it's possible to extend AbstractFactoryManager to implement custom client functionality and thus re-use ClientSessionImp.

      I've marked this as minor since it's possible to implement custom client functionality by extending SshClient, but the API becomes more general with the change.

      Attachments

        1. SSHD-31.diff
          1 kB
          Pete Torgenrud

        Activity

          People

            gnodet Guillaume Nodet
            pttorgenrud Pete Torgenrud
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified