public class Protocol.Ack extends BinaryProtocol.Message
| Constructor and Description |
|---|
Ack(java.nio.ByteBuffer buffer) |
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, matchpublic BinaryProtocol.MessageOp getOp()
getOp in class BinaryProtocol.Messagepublic java.nio.ByteBuffer wireFormat()
BinaryProtocol.MessagewireFormat in interface BinaryProtocol.WireFormatablewireFormat in class BinaryProtocol.Messagepublic long getTxnId()
public java.lang.String toString()
toString in class BinaryProtocol.MessageCopyright (c) 2004-2012 Oracle. All rights reserved.