protected abstract class BaseProtocol.ProtocolVersion extends BaseProtocol.HandshakeMessage
| Constructor and Description |
|---|
ProtocolVersion(ByteBuffer buffer) |
ProtocolVersion(int version) |
| Modifier and Type | Method and Description |
|---|---|
protected NameIdPair |
getNameIdPair()
The nodeName of the sender
|
protected int |
getVersion() |
ByteBuffer |
wireFormat()
The default message consists of the operation enum and just a 0
length size.
|
getBoolean, getByteArray, getDouble, getEnum, getNameIdPair, getStringArray, getVLSN, putByteArray, putWireFormat, wireFormat, wireFormatSizeallocateInitializedBuffer, getOp, match, toStringpublic ProtocolVersion(int version)
public ProtocolVersion(ByteBuffer buffer)
public ByteBuffer wireFormat()
BinaryProtocol.MessagewireFormat in class BinaryProtocol.Messageprotected int getVersion()
protected NameIdPair getNameIdPair()
Copyright © 2024. All rights reserved.