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, getLastModifiedTime
getBoolean, getByteArray, getDouble, getEnum, getNameIdPair, getRepNodeImplArray, getStringArray, getVLSN, wireFormat
allocateInitializedBuffer, match, toString
public 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.FileStart
public java.nio.ByteBuffer wireFormat()
BinaryProtocol.Message
wireFormat
in interface BinaryProtocol.WireFormatable
wireFormat
in class Protocol.FileStart
public byte[] getDigestSHA1()
Copyright (c) 2004-2012 Oracle. All rights reserved.