public class Protocol.SNTPResponse extends BaseProtocol.HandshakeMessage
| Constructor and Description |
|---|
SNTPResponse(ByteBuffer buffer) |
SNTPResponse(Protocol.SNTPRequest request) |
| Modifier and Type | Method and Description |
|---|---|
long |
getDelay() |
long |
getDelta() |
long |
getDestinationTimestamp() |
BinaryProtocol.MessageOp |
getOp() |
long |
getOriginateTimestamp() |
long |
getReceiveTimestamp() |
long |
getTransmitTimestamp() |
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 SNTPResponse(Protocol.SNTPRequest request)
public SNTPResponse(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 long getTransmitTimestamp()
public long getDestinationTimestamp()
public long getDelay()
public long getDelta()
Copyright © 2024. All rights reserved.