Interface CommandStatusHandler
-
- 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 CommandStatusHandler
- Author:
- Apache MINA SSHD Project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandleCommandExitStatus(ClientSession session, String cmd, Integer exitStatus)Invoked by the variousupload/downloadmethods after having successfully completed the remote copy command and (optionally) having received an exit status from the remote server
-
-
-
Method Detail
-
handleCommandExitStatus
void handleCommandExitStatus(ClientSession session, String cmd, Integer exitStatus) throws IOException
Invoked by the variousupload/downloadmethods after having successfully completed the remote copy command and (optionally) having received an exit status from the remote server- Parameters:
session- The associatedClientSessioncmd- The attempted remote copy commandexitStatus- The exit status - ifnullthen no status was reported- Throws:
IOException- If failed the command
-
-