com.sleepycat.je.rep.impl.networkRestore
Class Protocol.FileInfoResp
java.lang.Object
com.sleepycat.je.rep.utilint.BinaryProtocol.Message
com.sleepycat.je.rep.utilint.BinaryProtocol.SimpleMessage
com.sleepycat.je.rep.impl.networkRestore.Protocol.FileStart
com.sleepycat.je.rep.impl.networkRestore.Protocol.FileInfoResp
- All Implemented Interfaces:
- BinaryProtocol.WireFormatable
- Direct Known Subclasses:
- Protocol.FileEnd
- Enclosing class:
- Protocol
public class Protocol.FileInfoResp
- extends Protocol.FileStart
Protocol.FileInfoResp
public Protocol.FileInfoResp(String fileName,
long fileLength,
long lastModifiedTime,
byte[] digestSHA1)
Protocol.FileInfoResp
public Protocol.FileInfoResp(ByteBuffer buffer)
getOp
public BinaryProtocol.MessageOp getOp()
- Overrides:
getOp
in class Protocol.FileStart
wireFormat
public ByteBuffer wireFormat()
- Description copied from class:
BinaryProtocol.Message
- The default message consists of the operation enum and just a 0
length size.
- Specified by:
wireFormat
in interface BinaryProtocol.WireFormatable
- Overrides:
wireFormat
in class Protocol.FileStart
getDigestSHA1
public byte[] getDigestSHA1()
- Returns the SHA1 value if it was requested, or a zero length byte
array if it was not requested.
Copyright (c) 2004-2010 Oracle. All rights reserved.