@FunctionalInterface
public interface CommandStatusHandler
| Modifier and Type | Method and Description |
|---|---|
void |
handleCommandExitStatus(ClientSession session,
java.lang.String cmd,
java.lang.Integer exitStatus)
Invoked by the various
upload/download methods after having successfully completed the remote copy
command and (optionally) having received an exit status from the remote server |
void handleCommandExitStatus(ClientSession session, java.lang.String cmd, java.lang.Integer exitStatus) throws java.io.IOException
upload/download methods after having successfully completed the remote copy
command and (optionally) having received an exit status from the remote serversession - The associated ClientSessioncmd - The attempted remote copy commandexitStatus - The exit status - if null then no status was reportedjava.io.IOException - If failed the command