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

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
All Implemented Interfaces:
BinaryProtocol.WireFormatable
Direct Known Subclasses:
Protocol.FileInfoResp
Enclosing class:
Protocol

public class Protocol.FileStart
extends BinaryProtocol.SimpleMessage

The message starting the response triple: FileStart FileEnd


Field Summary
protected  long fileLength
           
protected  String fileName
           
protected  long lastModifiedTime
           
 
Constructor Summary
Protocol.FileStart(ByteBuffer buffer)
           
Protocol.FileStart(String fileName, long fileLength, long lastModifiedTime)
           
 
Method Summary
 long getFileLength()
           
 long getLastModifiedTime()
           
 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.utilint.BinaryProtocol.SimpleMessage
getBoolean, getByteArray, getEnum, 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
 

Field Detail

fileName

protected final String fileName

fileLength

protected final long fileLength

lastModifiedTime

protected final long lastModifiedTime
Constructor Detail

Protocol.FileStart

public Protocol.FileStart(String fileName,
                          long fileLength,
                          long lastModifiedTime)

Protocol.FileStart

public Protocol.FileStart(ByteBuffer buffer)
Method Detail

getOp

public BinaryProtocol.MessageOp getOp()
Specified by:
getOp in class BinaryProtocol.Message

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 BinaryProtocol.Message

getFileLength

public long getFileLength()

getLastModifiedTime

public long getLastModifiedTime()


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