public interface RawSftpClient
| Modifier and Type | Method and Description |
|---|---|
org.apache.sshd.common.util.buffer.Buffer |
receive(int id) |
org.apache.sshd.common.util.buffer.Buffer |
receive(int id,
Duration timeout) |
org.apache.sshd.common.util.buffer.Buffer |
receive(int id,
long timeout) |
int |
send(int cmd,
org.apache.sshd.common.util.buffer.Buffer buffer) |
int send(int cmd,
org.apache.sshd.common.util.buffer.Buffer buffer)
throws IOException
cmd - Command to send - Note: only lower 8-bits are usedbuffer - The Buffer containing the command dataIOException - if failed to send commandorg.apache.sshd.common.util.buffer.Buffer receive(int id) throws IOException
id - The expected request idBuffer containing the request idIOException - If connection closed or interruptedorg.apache.sshd.common.util.buffer.Buffer receive(int id, long timeout) throws IOException
id - The expected request idtimeout - The amount of time to wait for the responseBuffer containing the request idIOException - If connection closed or interruptedorg.apache.sshd.common.util.buffer.Buffer receive(int id, Duration timeout) throws IOException
id - The expected request idtimeout - The amount of time to wait for the responseBuffer containing the request idIOException - If connection closed or interruptedCopyright © 2018–2021 The Apache Software Foundation. All rights reserved.