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, wireFormatallocateInitializedBuffer, getOp, match, toStringpublic BinaryProtocol.ProtocolVersion(int version)
public BinaryProtocol.ProtocolVersion(java.nio.ByteBuffer buffer)
public java.nio.ByteBuffer wireFormat()
BinaryProtocol.MessagewireFormat in interface BinaryProtocol.WireFormatablewireFormat in class BinaryProtocol.Messagepublic int getVersion()
public int getNodeId()
Copyright (c) 2004-2012 Oracle. All rights reserved.