Package org.apache.sshd.scp.common
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.
-
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(Session session, String line, boolean isDir, ScpTimestampCommandDetails time)
-
Method Details
-
process
void process(Session session, String line, boolean isDir, ScpTimestampCommandDetails time) throws IOException - Parameters:
session- The client/serverSessionthrough which the transfer is being executedline- Received SCP input lineisDir- Does the input line refer to a directorytime- The receivedScpTimestampCommandDetails- may benull- Throws:
IOException- If failed to process the line
-