Interface ScpReceiveLineHandler

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ScpReceiveLineHandler
    • Method Detail

      • process

        void process​(Session session,
                     java.lang.String line,
                     boolean isDir,
                     ScpTimestampCommandDetails time)
              throws java.io.IOException
        Parameters:
        session - The client/server Session through which the transfer is being executed
        line - Received SCP input line
        isDir - Does the input line refer to a directory
        time - The received ScpTimestampCommandDetails - may be null
        Throws:
        java.io.IOException - If failed to process the line