public class Protocol.SNTPRequest extends BaseProtocol.HandshakeMessage
| Constructor and Description |
|---|
SNTPRequest(boolean isLast) |
SNTPRequest(ByteBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
BinaryProtocol.MessageOp |
getOp() |
long |
getOriginateTimestamp() |
long |
getReceiveTimestamp() |
boolean |
isLast() |
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, match, toStringpublic SNTPRequest(boolean isLast)
public SNTPRequest(ByteBuffer buffer)
public ByteBuffer wireFormat()
BinaryProtocol.MessagewireFormat in class BinaryProtocol.Messagepublic BinaryProtocol.MessageOp getOp()
getOp in class BinaryProtocol.Messagepublic long getOriginateTimestamp()
public long getReceiveTimestamp()
public boolean isLast()
Copyright © 2024. All rights reserved.