nl::Weave::Profiles::Time

Summary

Enumerations

@267 enum
type of a message, used with Weave Exchange
@268{
  kWdmTagTime_Zone_Name = 0x00,
  kWdmTagTime_Zone_POSIX_TZ = 0x01,
  kWdmTagTime_Zone_UTC_Offset = 0x02
}
enum
Profile-specific tags used in WDM queries for timezone information.
TimeSyncRole enum
Roles a protocol engine can play.

Typedefs

timesync_t typedef
int64_t
type used to store and handle number of microseconds from different epoch if used to express system time, the epoch is 1970/1/1 0:00:00

Classes

nl::Weave::Profiles::Time::SingleSourceTimeSyncClient
nl::Weave::Profiles::Time::TimeChangeNotification

codec for Time Change Notification message

nl::Weave::Profiles::Time::TimeSyncNode
nl::Weave::Profiles::Time::TimeSyncRequest
nl::Weave::Profiles::Time::TimeSyncResponse
nl::Weave::Profiles::Time::TimeZoneUtcOffset

Codec for UTC offset of a timezone.

nl::Weave::Profiles::Time::_TimeSyncNodeBase

Structs

nl::Weave::Profiles::Time::Contact

This is in the public because the TimeSyncNode::FilterTimeCorrectionContributor callback gives a global view to higher layer.

nl::Weave::Profiles::Time::ServingNode

used to specify contacts for calling SyncWithNodes It's put in the open instead of being a nested class to make class declaration of TimeSyncNode shorter, and also the export declaration more explicit.

Enumerations

@267

 @267

type of a message, used with Weave Exchange

@268

 @268

Profile-specific tags used in WDM queries for timezone information.

Properties
kWdmTagTime_Zone_Name

The IANA Timezone name in UTF8-String format.

kWdmTagTime_Zone_POSIX_TZ

The POSIX TZ environment variable in UTF8-String format.

kWdmTagTime_Zone_UTC_Offset

The UTC offsets for this timezone, in packed binary format.

TimeSyncRole

 TimeSyncRole

Roles a protocol engine can play.

for example, a TimeSyncServer could be playing a Server or part of a Coordinator. likewise, a TimeSyncClient could be playing a Client or just part of a Coordinator.

Typedefs

timesync_t

int64_t timesync_t

type used to store and handle number of microseconds from different epoch if used to express system time, the epoch is 1970/1/1 0:00:00