public class Protocol.FileStart extends BinaryProtocol.SimpleMessage
Modifier and Type | Field and Description |
---|---|
protected long |
fileLength |
protected java.lang.String |
fileName |
protected long |
lastModifiedTime |
Constructor and Description |
---|
Protocol.FileStart(java.nio.ByteBuffer buffer) |
Protocol.FileStart(java.lang.String fileName,
long fileLength,
long lastModifiedTime) |
Modifier and Type | Method and Description |
---|---|
long |
getFileLength() |
long |
getLastModifiedTime() |
BinaryProtocol.MessageOp |
getOp() |
java.nio.ByteBuffer |
wireFormat()
The default message consists of the operation enum and just a 0
length size.
|
getBoolean, getByteArray, getDouble, getEnum, getNameIdPair, getRepNodeImplArray, getStringArray, getVLSN, wireFormat
allocateInitializedBuffer, match, toString
protected final java.lang.String fileName
protected final long fileLength
protected final long lastModifiedTime
public Protocol.FileStart(java.lang.String fileName, long fileLength, long lastModifiedTime)
public Protocol.FileStart(java.nio.ByteBuffer buffer)
public BinaryProtocol.MessageOp getOp()
getOp
in class BinaryProtocol.Message
public java.nio.ByteBuffer wireFormat()
BinaryProtocol.Message
wireFormat
in interface BinaryProtocol.WireFormatable
wireFormat
in class BinaryProtocol.Message
public long getFileLength()
public long getLastModifiedTime()
Copyright (c) 2004-2012 Oracle. All rights reserved.