public class Protocol.BlockInfo extends BinaryProtocol.SimpleMessage
| Constructor and Description |
|---|
BlockInfo(Block block) |
BlockInfo(ByteBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
Block |
getBlock() |
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, toStringpublic BlockInfo(Block block)
public BlockInfo(ByteBuffer buffer)
public ByteBuffer wireFormat()
BinaryProtocol.MessagewireFormat in class BinaryProtocol.Messagepublic BinaryProtocol.MessageOp getOp()
getOp in class BinaryProtocol.Messagepublic Block getBlock()
Copyright © 2024. All rights reserved.