public class Protocol.FileInfoResp extends Protocol.FileStart
fileLength, fileName, lastModifiedTime| Constructor and Description |
|---|
FileInfoResp(ByteBuffer buffer) |
FileInfoResp(String fileName,
long fileLength,
long lastModifiedTime,
byte[] digestSHA1) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getDigestSHA1()
Returns the SHA1 value if it was requested, or a zero length byte
array if it was not requested.
|
BinaryProtocol.MessageOp |
getOp() |
ByteBuffer |
wireFormat()
The default message consists of the operation enum and just a 0
length size.
|
getFileLength, getLastModifiedTimegetBoolean, getByteArray, getDouble, getEnum, getNameIdPair, getStringArray, getVLSN, putByteArray, putWireFormat, wireFormat, wireFormatSizeallocateInitializedBuffer, match, toStringpublic FileInfoResp(String fileName, long fileLength, long lastModifiedTime, byte[] digestSHA1)
public FileInfoResp(ByteBuffer buffer)
public BinaryProtocol.MessageOp getOp()
getOp in class Protocol.FileStartpublic ByteBuffer wireFormat()
BinaryProtocol.MessagewireFormat in class Protocol.FileStartpublic byte[] getDigestSHA1()
Copyright © 2024. All rights reserved.