Package org.apache.sshd.sftp.client.impl
Class SftpResponse
java.lang.Object
org.apache.sshd.sftp.client.impl.SftpResponse
A representation of an SFTP response to a request.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
SftpResponse
(int cmd, int id, int type, int length, Buffer buffer) -
Method Summary
-
Field Details
-
cmd
private final int cmd -
id
private final int id -
type
private final int type -
length
private final int length -
buffer
-
-
Constructor Details
-
SftpResponse
-
-
Method Details
-
getCmd
public int getCmd() -
getId
public int getId() -
getType
public int getType() -
getLength
public int getLength() -
getBuffer
-
parse
- Throws:
IOException
-
validateIncomingResponse
public static void validateIncomingResponse(int cmd, int id, int type, int length, Buffer buffer) throws IOException - Throws:
IOException
-