com.sleepycat.je.rep.util.ldiff
Class Protocol.BlockInfo

java.lang.Object
  extended by com.sleepycat.je.rep.utilint.BinaryProtocol.Message
      extended by com.sleepycat.je.rep.utilint.BinaryProtocol.SimpleMessage
          extended by com.sleepycat.je.rep.util.ldiff.Protocol.BlockInfo
All Implemented Interfaces:
BinaryProtocol.WireFormatable
Enclosing class:
Protocol

public class Protocol.BlockInfo
extends BinaryProtocol.SimpleMessage

Supplies the properties of an individual block.


Field Summary
(package private)  Block block
           
 
Constructor Summary
Protocol.BlockInfo(Block block)
           
Protocol.BlockInfo(ByteBuffer buffer)
           
 
Method Summary
 Block getBlock()
           
 BinaryProtocol.MessageOp getOp()
           
 ByteBuffer wireFormat()
          The default message consists of the operation enum and just a 0 length size.
 
Methods inherited from class com.sleepycat.je.rep.utilint.BinaryProtocol.SimpleMessage
getBoolean, getByteArray, getDouble, getEnum, getNameIdPair, getRepNodeImplArray, getStringArray, getVLSN, wireFormat
 
Methods inherited from class com.sleepycat.je.rep.utilint.BinaryProtocol.Message
allocateInitializedBuffer, match, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

block

final Block block
Constructor Detail

Protocol.BlockInfo

public Protocol.BlockInfo(Block block)

Protocol.BlockInfo

public Protocol.BlockInfo(ByteBuffer buffer)
Method Detail

wireFormat

public ByteBuffer wireFormat()
Description copied from class: BinaryProtocol.Message
The default message consists of the operation enum and just a 0 length size.

Specified by:
wireFormat in interface BinaryProtocol.WireFormatable
Overrides:
wireFormat in class BinaryProtocol.Message

getOp

public BinaryProtocol.MessageOp getOp()
Specified by:
getOp in class BinaryProtocol.Message

getBlock

public Block getBlock()


Copyright (c) 2004-2012 Oracle. All rights reserved.