com.sleepycat.je.rep.impl.networkRestore
Class Protocol.FileInfoReq

java.lang.Object
  extended by com.sleepycat.je.rep.utilint.BinaryProtocol.Message
      extended by com.sleepycat.je.rep.utilint.BinaryProtocol.SimpleMessage
          extended by com.sleepycat.je.rep.impl.networkRestore.Protocol.FileReq
              extended by com.sleepycat.je.rep.impl.networkRestore.Protocol.FileInfoReq
All Implemented Interfaces:
BinaryProtocol.WireFormatable
Enclosing class:
Protocol

public class Protocol.FileInfoReq
extends Protocol.FileReq

Requests information about a specific log file.


Field Summary
 
Fields inherited from class com.sleepycat.je.rep.impl.networkRestore.Protocol.FileReq
fileName
 
Constructor Summary
Protocol.FileInfoReq(ByteBuffer buffer)
           
Protocol.FileInfoReq(String fileName, boolean needSHA1)
           
 
Method Summary
 boolean getNeedSHA1()
           
 BinaryProtocol.MessageOp getOp()
           
 ByteBuffer wireFormat()
          The default message consists of the operation enum and just a 0 length size.
 
Methods inherited from class com.sleepycat.je.rep.impl.networkRestore.Protocol.FileReq
getFileName
 
Methods inherited from class com.sleepycat.je.rep.utilint.BinaryProtocol.SimpleMessage
getBoolean, getByteArray, getDouble, getEnum, getNameIdPair, getRepNodeImplArray, getStringArray, getVLSN, wireFormat
 
Methods inherited from class com.sleepycat.je.rep.utilint.BinaryProtocol.Message
allocateInitializedBuffer, match, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Protocol.FileInfoReq

public Protocol.FileInfoReq(String fileName,
                            boolean needSHA1)

Protocol.FileInfoReq

public Protocol.FileInfoReq(ByteBuffer buffer)
Method Detail

getOp

public BinaryProtocol.MessageOp getOp()
Overrides:
getOp in class Protocol.FileReq

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.FileReq

getNeedSHA1

public boolean getNeedSHA1()


Copyright (c) 2004-2012 Oracle. All rights reserved.