com.sleepycat.je.rep.stream
Class Protocol.AlternateMatchpoint

java.lang.Object
  extended by com.sleepycat.je.rep.utilint.BinaryProtocol.Message
      extended by com.sleepycat.je.rep.stream.Protocol.AlternateMatchpoint
All Implemented Interfaces:
BinaryProtocol.WireFormatable
Enclosing class:
Protocol

public class Protocol.AlternateMatchpoint
extends BinaryProtocol.Message


Constructor Summary
Protocol.AlternateMatchpoint(ByteBuffer buffer)
           
Protocol.AlternateMatchpoint(OutputWireRecord alternate)
           
 
Method Summary
 InputWireRecord getAlternateWireRecord()
           
 BinaryProtocol.MessageOp getOp()
           
 boolean match(BinaryProtocol.Message other)
           
 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.Message
allocateInitializedBuffer, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Protocol.AlternateMatchpoint

Protocol.AlternateMatchpoint(OutputWireRecord alternate)

Protocol.AlternateMatchpoint

public Protocol.AlternateMatchpoint(ByteBuffer buffer)
                             throws DatabaseException
Throws:
DatabaseException
Method Detail

getOp

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

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

getAlternateWireRecord

public InputWireRecord getAlternateWireRecord()

match

public boolean match(BinaryProtocol.Message other)
Overrides:
match in class BinaryProtocol.Message


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