![]() |
NDEVR
API Documentation
|
Represents a parsed NTP reply received from an NTP server. More...
Public Member Functions | |
| NtpReply () | |
| Default constructor, constructs a null NTP reply. | |
| NtpReply (NtpFullPacket packet, Time destinationTime) | |
| Constructs an NTP reply given an NTP packet and current time. | |
| Time | destinationTime () const |
| NtpLeapIndicator | leapIndicator () const |
| NtpMode | mode () const |
| Time | originTime () const |
| qreal | pollInterval () const |
| qreal | precision () const |
| const NtpFullPacket & | rawData () const |
| Time | receiveTime () const |
| Time | referenceTime () const |
| quint8 | stratum () const |
| Time | transmitTime () const |
| quint8 | versionNumber () const |
Represents a parsed NTP reply received from an NTP server.
Wraps an NtpFullPacket and the local destination time, providing convenience accessors for all standard NTP reply fields.
Definition at line 17 of file NtpReply.h.
|
inline |
Constructs an NTP reply given an NTP packet and current time.
| packet | NTP packet. |
| destinationTime | Time at the client when the reply arrived from the server. |
Definition at line 30 of file NtpReply.h.
References destinationTime().
|
inline |
Definition at line 108 of file NtpReply.h.
Referenced by NtpReply().
|
inline |
Definition at line 38 of file NtpReply.h.
|
inline |
Definition at line 52 of file NtpReply.h.
|
inline |
Definition at line 87 of file NtpReply.h.
|
inline |
Definition at line 66 of file NtpReply.h.
|
inline |
Definition at line 73 of file NtpReply.h.
|
inline |
Definition at line 115 of file NtpReply.h.
|
inline |
Definition at line 94 of file NtpReply.h.
|
inline |
Definition at line 80 of file NtpReply.h.
|
inline |
Definition at line 59 of file NtpReply.h.
|
inline |
Definition at line 101 of file NtpReply.h.
|
inline |
Definition at line 45 of file NtpReply.h.