@FunctionalInterface public interface CommandStatusHandler
Modifier and Type | Method and Description |
---|---|
void |
handleCommandExitStatus(ClientSession session,
String cmd,
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, String cmd, Integer exitStatus) throws 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 ClientSession
cmd
- The attempted remote copy commandexitStatus
- The exit status - if null
then no status was reportedIOException
- If failed the commandCopyright © 2008–2024 The Apache Software Foundation. All rights reserved.