public class Protocol.Entry extends BinaryProtocol.Message
| Modifier and Type | Field and Description |
|---|---|
protected InputWireRecord |
inputWireRecord |
protected OutputWireRecord |
outputWireRecord |
| Constructor and Description |
|---|
Protocol.Entry() |
Protocol.Entry(java.nio.ByteBuffer buffer) |
Protocol.Entry(OutputWireRecord outputWireRecord) |
| Modifier and Type | Method and Description |
|---|---|
BinaryProtocol.MessageOp |
getOp() |
InputWireRecord |
getWireRecord() |
protected int |
getWireSize() |
boolean |
isTxnEnd() |
boolean |
match(BinaryProtocol.Message other) |
java.lang.String |
toString() |
java.nio.ByteBuffer |
wireFormat()
The default message consists of the operation enum and just a 0
length size.
|
allocateInitializedBufferprotected InputWireRecord inputWireRecord
protected OutputWireRecord outputWireRecord
public Protocol.Entry()
public Protocol.Entry(OutputWireRecord outputWireRecord)
public Protocol.Entry(java.nio.ByteBuffer buffer)
throws DatabaseException
DatabaseExceptionpublic BinaryProtocol.MessageOp getOp()
getOp in class BinaryProtocol.Messagepublic java.nio.ByteBuffer wireFormat()
BinaryProtocol.MessagewireFormat in interface BinaryProtocol.WireFormatablewireFormat in class BinaryProtocol.Messageprotected int getWireSize()
public InputWireRecord getWireRecord()
public java.lang.String toString()
toString in class BinaryProtocol.Messagepublic boolean match(BinaryProtocol.Message other)
match in class BinaryProtocol.Messagepublic boolean isTxnEnd()
Copyright (c) 2004-2012 Oracle. All rights reserved.