public final class SftpResponse extends Object
| Modifier and Type | Method and Description |
|---|---|
org.apache.sshd.common.util.buffer.Buffer |
getBuffer() |
int |
getCmd() |
int |
getId() |
int |
getLength() |
int |
getType() |
static SftpResponse |
parse(int cmd,
org.apache.sshd.common.util.buffer.Buffer buffer) |
static void |
validateIncomingResponse(int cmd,
int id,
int type,
int length,
org.apache.sshd.common.util.buffer.Buffer buffer) |
public int getCmd()
public int getId()
public int getType()
public int getLength()
public org.apache.sshd.common.util.buffer.Buffer getBuffer()
public static SftpResponse parse(int cmd, org.apache.sshd.common.util.buffer.Buffer buffer) throws IOException
IOExceptionpublic static void validateIncomingResponse(int cmd,
int id,
int type,
int length,
org.apache.sshd.common.util.buffer.Buffer buffer)
throws IOException
IOExceptionCopyright © 2018–2024 The Apache Software Foundation. All rights reserved.