public class SshFxpDataReply extends BaseReply
| Constructor and Description |
|---|
SshFxpDataReply(int id,
byte[] data)
Creates a SshFxpData instance.
|
SshFxpDataReply(int id,
byte[] data,
int offset,
int length,
boolean eof)
Creates a SshFxpData instance.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getData()
Returns the data.
|
int |
getLength() |
SftpConstants.Type |
getMessage()
Returns the reply message type.
|
int |
getOffset() |
boolean |
isEof() |
java.lang.String |
toString() |
public SshFxpDataReply(int id,
byte[] data)
id - The reply id.data - The transfer data.public SshFxpDataReply(int id,
byte[] data,
int offset,
int length,
boolean eof)
id - The reply id.data - The transfer data.offset - The offset in the data.length - The length of data.eof - The EOF flag.public SftpConstants.Type getMessage()
public java.lang.String toString()
toString in class java.lang.Objectpublic byte[] getData()
public int getOffset()
public int getLength()
public boolean isEof()
Copyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.