public class Protocol.Ack extends BinaryProtocol.Message
Constructor and Description |
---|
Protocol.Ack(java.nio.ByteBuffer buffer) |
Protocol.Ack(long txnId) |
Modifier and Type | Method and Description |
---|---|
BinaryProtocol.MessageOp |
getOp() |
long |
getTxnId() |
java.lang.String |
toString() |
java.nio.ByteBuffer |
wireFormat()
The default message consists of the operation enum and just a 0
length size.
|
allocateInitializedBuffer, match
public Protocol.Ack(long txnId)
public Protocol.Ack(java.nio.ByteBuffer buffer)
public BinaryProtocol.MessageOp getOp()
getOp
in class BinaryProtocol.Message
public java.nio.ByteBuffer wireFormat()
BinaryProtocol.Message
wireFormat
in interface BinaryProtocol.WireFormatable
wireFormat
in class BinaryProtocol.Message
public long getTxnId()
public java.lang.String toString()
toString
in class BinaryProtocol.Message
Copyright (c) 2004-2012 Oracle. All rights reserved.