abstract class BinaryProtocol.ProtocolVersion extends BinaryProtocol.SimpleMessage
Constructor and Description |
---|
BinaryProtocol.ProtocolVersion(java.nio.ByteBuffer buffer) |
BinaryProtocol.ProtocolVersion(int version) |
Modifier and Type | Method and Description |
---|---|
int |
getNodeId()
The nodeId of the sender
|
int |
getVersion() |
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, getOp, match, toString
public BinaryProtocol.ProtocolVersion(int version)
public BinaryProtocol.ProtocolVersion(java.nio.ByteBuffer buffer)
public java.nio.ByteBuffer wireFormat()
BinaryProtocol.Message
wireFormat
in interface BinaryProtocol.WireFormatable
wireFormat
in class BinaryProtocol.Message
public int getVersion()
public int getNodeId()
Copyright (c) 2004-2012 Oracle. All rights reserved.