Top Methods
org.apache.sshd.scp.common.helpers

public Interface CommandStatusHandler

Annotations
@FunctionalInterface
Imports
java.io.IOException, org.apache.sshd.client.session.ClientSession

Author
Apache MINA SSHD Project

Method Summary

Modifier and TypeMethod and Description
public void
handleCommandExitStatus(ClientSession
The associated ClientSession
session
,
String
The attempted remote copy command
cmd
,
Integer
The exit status - if null then no status was reported
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

Method Detail

handleCommandExitStatusback to summary
public void handleCommandExitStatus(ClientSession session, String cmd, Integer exitStatus) throws IOException

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

Parameters
session:ClientSession

The associated ClientSession

cmd:String

The attempted remote copy command

exitStatus:Integer

The exit status - if null then no status was reported

Exceptions
IOException:
If failed the command