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, wireFormatallocateInitializedBuffer, match, toStringprotected 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.Messagepublic java.nio.ByteBuffer wireFormat()
BinaryProtocol.MessagewireFormat in interface BinaryProtocol.WireFormatablewireFormat in class BinaryProtocol.Messagepublic long getFileLength()
public long getLastModifiedTime()
Copyright (c) 2004-2012 Oracle. All rights reserved.