public interface RawSftpClient
Modifier and Type | Method and Description |
---|---|
Buffer |
receive(int id) |
int |
send(int cmd,
Buffer buffer) |
int send(int cmd, 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 commandBuffer receive(int id) throws IOException
id
- The expected request idBuffer
containing the request idIOException
- If connection closed or interruptedCopyright © 2008–2016 The Apache Software Foundation. All rights reserved.