abstract class Protocol.ProtocolVersion extends Protocol.HandshakeMessage
Constructor and Description |
---|
Protocol.ProtocolVersion(java.nio.ByteBuffer buffer) |
Protocol.ProtocolVersion(int version) |
Modifier and Type | Method and Description |
---|---|
(package private) NameIdPair |
getNameIdPair()
The nodeName of the sender
|
(package private) 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 Protocol.ProtocolVersion(int version)
public Protocol.ProtocolVersion(java.nio.ByteBuffer buffer)
public java.nio.ByteBuffer wireFormat()
BinaryProtocol.Message
wireFormat
in interface BinaryProtocol.WireFormatable
wireFormat
in class BinaryProtocol.Message
int getVersion()
NameIdPair getNameIdPair()
Copyright (c) 2004-2012 Oracle. All rights reserved.