#include <NtpReply.h>
◆ NtpReply() [1/2]
Default constructor, constructs a null NTP reply.
◆ NtpReply() [2/2]
Constructs an NTP reply given an NTP packet and current time.
- Parameters
-
packet | NTP packet. |
destinationTime | Time at the client when the reply arrived from the server. |
◆ destinationTime()
Time destinationTime |
( |
| ) |
const |
|
inline |
- Returns
- Time at the client when the reply arrived from the server.
◆ leapIndicator()
◆ mode()
◆ originTime()
Time originTime |
( |
| ) |
const |
|
inline |
- Returns
- Time at the client when the request departed for the server.
◆ pollInterval()
qreal pollInterval |
( |
| ) |
const |
|
inline |
- Returns
- Maximum interval between successive messages, in seconds.
◆ precision()
qreal precision |
( |
| ) |
const |
|
inline |
- Returns
- Clock precision, in seconds.
◆ rawData()
- Returns
- Raw NTP reply, for the curious user.
◆ receiveTime()
Time receiveTime |
( |
| ) |
const |
|
inline |
- Returns
- Time at the server when the request arrived from the client.
◆ referenceTime()
Time referenceTime |
( |
| ) |
const |
|
inline |
- Returns
- Time when the system clock was last set or corrected.
◆ stratum()
◆ transmitTime()
Time transmitTime |
( |
| ) |
const |
|
inline |
- Returns
- Time at the server when the response left for the client.
◆ versionNumber()
quint8 versionNumber |
( |
| ) |
const |
|
inline |
- Returns
- NTP version number.
The documentation for this class was generated from the following file: