public class Protocol.FileInfoResp extends Protocol.FileStart
fileLength, fileName, lastModifiedTime| Constructor and Description |
|---|
Protocol.FileInfoResp(java.nio.ByteBuffer buffer) |
Protocol.FileInfoResp(java.lang.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() |
java.nio.ByteBuffer |
wireFormat()
The default message consists of the operation enum and just a 0
length size.
|
getFileLength, getLastModifiedTimegetBoolean, getByteArray, getDouble, getEnum, getNameIdPair, getRepNodeImplArray, getStringArray, getVLSN, wireFormatallocateInitializedBuffer, match, toStringpublic Protocol.FileInfoResp(java.lang.String fileName,
long fileLength,
long lastModifiedTime,
byte[] digestSHA1)
public Protocol.FileInfoResp(java.nio.ByteBuffer buffer)
public BinaryProtocol.MessageOp getOp()
getOp in class Protocol.FileStartpublic java.nio.ByteBuffer wireFormat()
BinaryProtocol.MessagewireFormat in interface BinaryProtocol.WireFormatablewireFormat in class Protocol.FileStartpublic byte[] getDigestSHA1()
Copyright (c) 2004-2012 Oracle. All rights reserved.