| Modifier and Type | Field and Description |
|---|---|
| public static final Set |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static String | |
| public static void | handleCommandExitStatus(ClientSession
The associated session, String ClientSessionThe attempted remote copy command cmd, ClientChannel The channel, CommandStatusHandler ClientChannel through which the command was sent - Note: then channel may
be in the process of being closedThe handler, Logger CommandStatusHandler to invoke once the exit status is received. if null
then handleCommandExitStatus(ClientSession, String, Integer, Logger) is calledAn optional log)Logger to use for issuing log messages - ignored if nullInvoked by the various |
| public static void | handleCommandExitStatus(ClientSession
The associated session, String ClientSessionThe attempted remote copy command cmd, Integer The exit status - if exitStatus, Logger null then no status was reportedAn optional log)Logger to use for issuing log messages - ignored if nullInvoked by the various |
| public static ChannelExec | |
| public static String | |
| public static String | |
| public static ScpAckInfo | sendAcknowledgedCommand(AbstractScpCommandDetails cmd, InputStream in, Charset csIn, OutputStream out, Charset csOut)
|
| public static ScpAckInfo | |
| public static void |
| COMMAND_WAIT_EVENTS | back to summary |
|---|---|
| public static final Set<ClientChannelEvent> COMMAND_WAIT_EVENTS | |
| ScpIoUtils | back to summary |
|---|---|
| private ScpIoUtils() | |
| getExitStatusName | back to summary |
|---|---|
| public static String getExitStatusName(Integer exitStatus) | |
| handleCommandExitStatus | back to summary |
|---|---|
| public static void handleCommandExitStatus(ClientSession session, String cmd, ClientChannel channel, CommandStatusHandler handler, Logger log) throws IOException Invoked by the various
| |
| handleCommandExitStatus | back to summary |
|---|---|
| public static void handleCommandExitStatus(ClientSession session, String cmd, Integer exitStatus, Logger log) throws IOException Invoked by the various
| |
| openCommandChannel | back to summary |
|---|---|
| public static ChannelExec openCommandChannel(ClientSession session, String cmd, Logger log) throws IOException | |
| readLine | back to summary |
|---|---|
| public static String readLine(InputStream in, Charset cs) throws IOException | |
| readLine | back to summary |
|---|---|
| public static String readLine(InputStream in, Charset cs, boolean canEof) throws IOException | |
| sendAcknowledgedCommand | back to summary |
|---|---|
| public static ScpAckInfo sendAcknowledgedCommand(AbstractScpCommandDetails cmd, InputStream in, Charset csIn, OutputStream out, Charset csOut) throws IOException | |
| sendAcknowledgedCommand | back to summary |
|---|---|
| public static ScpAckInfo sendAcknowledgedCommand(String cmd, InputStream in, Charset csIn, OutputStream out, Charset csOut) throws IOException | |
| writeLine | back to summary |
|---|---|
| public static void writeLine(OutputStream out, Charset cs, String cmd) throws IOException | |