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

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.FileStart
              extended by com.sleepycat.je.rep.impl.networkRestore.Protocol.FileInfoResp
                  extended by com.sleepycat.je.rep.impl.networkRestore.Protocol.FileEnd
All Implemented Interfaces:
BinaryProtocol.WireFormatable
Enclosing class:
Protocol

public class Protocol.FileEnd
extends Protocol.FileInfoResp

The message ending the response triple: FileStart FileEnd


Field Summary
 
Fields inherited from class com.sleepycat.je.rep.impl.networkRestore.Protocol.FileStart
fileLength, fileName, lastModifiedTime
 
Constructor Summary
Protocol.FileEnd(ByteBuffer buffer)
           
Protocol.FileEnd(String fileName, long fileLength, long lastModifiedTime, byte[] digestSHA1)
           
 
Method Summary
 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.FileInfoResp
getDigestSHA1
 
Methods inherited from class com.sleepycat.je.rep.impl.networkRestore.Protocol.FileStart
getFileLength, getLastModifiedTime
 
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.FileEnd

public Protocol.FileEnd(String fileName,
                        long fileLength,
                        long lastModifiedTime,
                        byte[] digestSHA1)

Protocol.FileEnd

public Protocol.FileEnd(ByteBuffer buffer)
Method Detail

getOp

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

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


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