public class Protocol.FileStart extends BinaryProtocol.SimpleMessage
| Modifier and Type | Field and Description |
|---|---|
protected long |
fileLength |
protected String |
fileName |
protected long |
lastModifiedTime |
| Constructor and Description |
|---|
FileStart(ByteBuffer buffer) |
FileStart(String fileName,
long fileLength,
long lastModifiedTime) |
| Modifier and Type | Method and Description |
|---|---|
long |
getFileLength() |
long |
getLastModifiedTime() |
BinaryProtocol.MessageOp |
getOp() |
ByteBuffer |
wireFormat()
The default message consists of the operation enum and just a 0
length size.
|
getBoolean, getByteArray, getDouble, getEnum, getNameIdPair, getStringArray, getVLSN, putByteArray, putWireFormat, wireFormat, wireFormatSizeallocateInitializedBuffer, match, toStringprotected final String fileName
protected final long fileLength
protected final long lastModifiedTime
public FileStart(String fileName, long fileLength, long lastModifiedTime)
public FileStart(ByteBuffer buffer)
public BinaryProtocol.MessageOp getOp()
getOp in class BinaryProtocol.Messagepublic ByteBuffer wireFormat()
BinaryProtocol.MessagewireFormat in class BinaryProtocol.Messagepublic long getFileLength()
public long getLastModifiedTime()
Copyright © 2024. All rights reserved.