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 void
handleCommandExitStatus(ClientSession session, String cmd, Integer exitStatus)
Invoked by the variousupload/download
methods 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/download
methods after having successfully completed the remote copy command and (optionally) having received an exit status from the remote server- Parameters:
session
- The associatedClientSession
cmd
- The attempted remote copy commandexitStatus
- The exit status - ifnull
then no status was reported- Throws:
IOException
- If failed the command
-
-