public class Protocol.RemoteRecord extends BinaryProtocol.SimpleMessage
Modifier and Type | Field and Description |
---|---|
(package private) byte[] |
data |
(package private) byte[] |
key |
(package private) VLSN |
vlsn |
Constructor and Description |
---|
Protocol.RemoteRecord(java.nio.ByteBuffer buffer) |
Protocol.RemoteRecord(Record record) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getData() |
byte[] |
getKey() |
BinaryProtocol.MessageOp |
getOp() |
VLSN |
getVLSN() |
java.nio.ByteBuffer |
wireFormat()
The default message consists of the operation enum and just a 0
length size.
|
getBoolean, getByteArray, getDouble, getEnum, getNameIdPair, getRepNodeImplArray, getStringArray, getVLSN, wireFormat
allocateInitializedBuffer, match, toString
final byte[] key
final byte[] data
final VLSN vlsn
public Protocol.RemoteRecord(Record record)
public Protocol.RemoteRecord(java.nio.ByteBuffer buffer)
public java.nio.ByteBuffer wireFormat()
BinaryProtocol.Message
wireFormat
in interface BinaryProtocol.WireFormatable
wireFormat
in class BinaryProtocol.Message
public BinaryProtocol.MessageOp getOp()
getOp
in class BinaryProtocol.Message
public byte[] getKey()
public byte[] getData()
public VLSN getVLSN()
Copyright (c) 2004-2012 Oracle. All rights reserved.