class EventProcessor
Defined at line 43 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Profiles/data-management/Current/EventProcessor.h
Protected Members
uint64_t mLocalNodeId
event_id_t[4] mLargestEventId
Public Methods
void EventProcessor (uint64_t inLocalNodeId)
void ~EventProcessor ()
WEAVE_ERROR ProcessEvents (nl::Weave::TLV::TLVReader & inReader, nl::Weave::Profiles::DataManagement::SubscriptionClient & inClient)
const event_id_t * GetLargestEventIdList (size_t & outSize)
Protected Methods
WEAVE_ERROR ParseEventList (nl::Weave::TLV::TLVReader & inReader, nl::Weave::Profiles::DataManagement::SubscriptionClient & inClient)
WEAVE_ERROR ParseEvent (nl::Weave::TLV::TLVReader & inReader, nl::Weave::Profiles::DataManagement::SubscriptionClient & inClient, StreamParsingContext & inOutParsingContext)
WEAVE_ERROR MapReceivedMaskToPublishedMask (const uint64_t & inReceivedMask, uint64_t & inOutPublishedMask)
WEAVE_ERROR UpdateContextQualifyHeader (EventHeader & inOutEventHeader, StreamParsingContext & inOutContext, uint64_t inReceivedMask)
WEAVE_ERROR ProcessHeader (const EventHeader & inEventHeader, bool & outIsNewEvent)
WEAVE_ERROR ProcessEvent (nl::Weave::TLV::TLVReader inReader, nl::Weave::Profiles::DataManagement::SubscriptionClient & inClient, const EventHeader & inEventHeader)
WEAVE_ERROR GapDetected (const EventHeader & inEventHeader)
Enumerations
enum
| Name | Value |
|---|---|
| EventHeaderFieldPresenceMask_RelatedImportance | 0x0001 |
| EventHeaderFieldPresenceMask_RelatedId | 0x0002 |
| EventHeaderFieldPresenceMask_UTCTimestamp | 0x0004 |
| EventHeaderFieldPresenceMask_SystemTimestamp | 0x0008 |
| EventHeaderFieldPresenceMask_DeltaUTCTime | 0x0010 |
| EventHeaderFieldPresenceMask_DeltaSystemTime | 0x0020 |
Only the optional fields are represented here. See the table
"Tags in TLV elements for events" in the WDM Next Protocol
spec.
Defined at line 88 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Profiles/data-management/Current/EventProcessor.h
enum
| Name | Value |
|---|---|
| ReceivedEventHeaderFieldPresenceMask_Source | 0x0001 |
| ReceivedEventHeaderFieldPresenceMask_Importance | 0x0002 |
| ReceivedEventHeaderFieldPresenceMask_Id | 0x0004 |
| ReceivedEventHeaderFieldPresenceMask_RelatedImportance | 0x0008 |
| ReceivedEventHeaderFieldPresenceMask_RelatedId | 0x0010 |
| ReceivedEventHeaderFieldPresenceMask_UTCTimestamp | 0x0020 |
| ReceivedEventHeaderFieldPresenceMask_SystemTimestamp | 0x0040 |
| ReceivedEventHeaderFieldPresenceMask_TraitInstanceId | 0x0080 |
| ReceivedEventHeaderFieldPresenceMask_Type | 0x0100 |
| ReceivedEventHeaderFieldPresenceMask_DeltaUTCTime | 0x0200 |
| ReceivedEventHeaderFieldPresenceMask_DeltaSystemTime | 0x0400 |
| ReceivedEventHeaderFieldPresenceMask_Data | 0x0800 |
This includes all possible kCsTag_* fields, telling us what
actually came in over the wire.
Defined at line 100 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Profiles/data-management/Current/EventProcessor.h