|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.rep.utilint.BinaryProtocol.Message
com.sleepycat.je.rep.utilint.BinaryProtocol.SimpleMessage
com.sleepycat.je.rep.impl.networkRestore.Protocol.FileStart
public class Protocol.FileStart
The message starting the response triple:
FileStart
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()
getOp
in class BinaryProtocol.Message
wireFormat
public ByteBuffer wireFormat()
BinaryProtocol.Message
wireFormat
in interface BinaryProtocol.WireFormatable
wireFormat
in class BinaryProtocol.Message
getFileLength
public long getFileLength()
getLastModifiedTime
public long getLastModifiedTime()
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Copyright (c) 2004-2010 Oracle. All rights reserved.