public class Protocol.SNTPResponse extends Protocol.HandshakeMessage
Constructor and Description |
---|
Protocol.SNTPResponse(java.nio.ByteBuffer buffer) |
Protocol.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() |
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, match, toString
public Protocol.SNTPResponse(Protocol.SNTPRequest request)
public Protocol.SNTPResponse(java.nio.ByteBuffer buffer)
public java.nio.ByteBuffer wireFormat()
BinaryProtocol.Message
wireFormat
in interface BinaryProtocol.WireFormatable
wireFormat
in class BinaryProtocol.Message
public BinaryProtocol.MessageOp getOp()
getOp
in class BinaryProtocol.Message
public long getOriginateTimestamp()
public long getReceiveTimestamp()
public long getTransmitTimestamp()
public long getDestinationTimestamp()
public long getDelay()
public long getDelta()
Copyright (c) 2004-2012 Oracle. All rights reserved.