public class Protocol.BlockInfo extends BinaryProtocol.SimpleMessage
| Constructor and Description |
|---|
Protocol.BlockInfo(Block block) |
Protocol.BlockInfo(java.nio.ByteBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
Block |
getBlock() |
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, toStringfinal Block block
public Protocol.BlockInfo(Block block)
public Protocol.BlockInfo(java.nio.ByteBuffer buffer)
public java.nio.ByteBuffer wireFormat()
BinaryProtocol.MessagewireFormat in interface BinaryProtocol.WireFormatablewireFormat in class BinaryProtocol.Messagepublic BinaryProtocol.MessageOp getOp()
getOp in class BinaryProtocol.Messagepublic Block getBlock()
Copyright (c) 2004-2012 Oracle. All rights reserved.