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

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

public class Protocol.Ack
extends BinaryProtocol.Message


Constructor Summary
Protocol.Ack(ByteBuffer buffer)
           
Protocol.Ack(long txnId)
           
 
Method Summary
 BinaryProtocol.MessageOp getOp()
           
 long getTxnId()
           
 String toString()
           
 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, match
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Protocol.Ack

public Protocol.Ack(long txnId)

Protocol.Ack

public Protocol.Ack(ByteBuffer buffer)
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

getTxnId

public long getTxnId()

toString

public String toString()
Overrides:
toString in class BinaryProtocol.Message


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