Home
last modified time | relevance | path

Searched refs:Notifier (Results 1 – 25 of 51) sorted by relevance

123

/openthread-3.5.0/src/core/thread/
Dnetwork_data_notifier.hpp59 class Notifier : public InstanceLocator, private NonCopyable class
61 friend class ot::Notifier;
71 explicit Notifier(Instance &aInstance);
156 using SynchronizeDataTask = TaskletIn<Notifier, &Notifier::SynchronizeServerData>;
157 using DelayTimer = TimerMilliIn<Notifier, &Notifier::HandleTimer>;
159 using NetDataFullTask = TaskletIn<Notifier, &Notifier::HandleNetDataFull>;
Dnetwork_data_notifier.cpp52 Notifier::Notifier(Instance &aInstance) in Notifier() function in ot::NetworkData::Notifier
69 void Notifier::HandleServerDataUpdated(void) in HandleServerDataUpdated()
80 void Notifier::SynchronizeServerData(void) in SynchronizeServerData()
122 Error Notifier::RemoveStaleChildEntries(void) in RemoveStaleChildEntries()
154 Error Notifier::UpdateInconsistentData(void) in UpdateInconsistentData()
190 Error Notifier::SendServerDataNotification(uint16_t aOldRloc16, const NetworkData *aNetworkData) in SendServerDataNotification()
228 void Notifier::HandleNotifierEvents(Events aEvents) in HandleNotifierEvents()
253 void Notifier::HandleTimer(void) { SynchronizeServerData(); } in HandleTimer()
255 void Notifier::HandleCoapResponse(void *aContext, otMessage *aMessage, const otMessageInfo *aMessag… in HandleCoapResponse()
260 static_cast<Notifier *>(aContext)->HandleCoapResponse(aResult); in HandleCoapResponse()
[all …]
Dkey_manager.cpp215 VerifyOrExit(aPskc != pskc, Get<Notifier>().SignalIfFirst(kEventPskcChanged)); in SetPskc()
219 Get<Notifier>().Signal(kEventPskcChanged); in SetPskc()
221 SuccessOrExit(Get<Notifier>().Update(mPskc, aPskc, kEventPskcChanged)); in SetPskc()
268 … VerifyOrExit(networkKey != aNetworkKey, Get<Notifier>().SignalIfFirst(kEventNetworkKeyChanged)); in SetNetworkKey()
272 Get<Notifier>().Signal(kEventNetworkKeyChanged); in SetNetworkKey()
274 SuccessOrExit(Get<Notifier>().Update(mNetworkKey, aNetworkKey, kEventNetworkKeyChanged)); in SetNetworkKey()
277 Get<Notifier>().Signal(kEventThreadKeySeqCounterChanged); in SetNetworkKey()
367 …VerifyOrExit(aKeySequence != mKeySequence, Get<Notifier>().SignalIfFirst(kEventThreadKeySeqCounter… in SetCurrentKeySequence()
387 Get<Notifier>().Signal(kEventThreadKeySeqCounterChanged); in SetCurrentKeySequence()
485 …IgnoreError(Get<Notifier>().Update(mSecurityPolicy, aSecurityPolicy, kEventSecurityPolicyChanged)); in SetSecurityPolicy()
[all …]
Dnetwork_data_local.hpp57 class Notifier;
65 friend class Notifier;
Dthread_netif.cpp81 Get<Notifier>().Signal(kEventThreadNetifStateChanged); in Up()
115 Get<Notifier>().Signal(kEventThreadNetifStateChanged); in Down()
Denergy_scan_server.hpp56 friend class ot::Notifier;
Dchild_supervision.hpp93 friend class ot::Notifier;
Dtime_sync_service.hpp59 friend class ot::Notifier;
Dannounce_sender.hpp208 friend class ot::Notifier;
Dnetwork_data_publisher.cpp559 Get<Notifier>().HandleServerDataUpdated(); in HandleNotifierEvents()
591 Get<Notifier>().HandleServerDataUpdated(); in Add()
622 Get<Notifier>().HandleServerDataUpdated(); in Remove()
880 Get<Notifier>().HandleServerDataUpdated(); in Add()
927 Get<Notifier>().HandleServerDataUpdated(); in Remove()
Dnetwork_data_leader_ftd.hpp55 class Notifier;
74 friend class Notifier;
/openthread-3.5.0/src/core/common/
Dnotifier.cpp47 Notifier::Notifier(Instance &aInstance) in Notifier() function in ot::Notifier
57 Error Notifier::RegisterCallback(otStateChangedCallback aCallback, void *aContext) in RegisterCallback()
82 void Notifier::RemoveCallback(otStateChangedCallback aCallback, void *aContext) in RemoveCallback()
98 void Notifier::Signal(Event aEvent) in Signal()
105 void Notifier::SignalIfFirst(Event aEvent) in SignalIfFirst()
113 void Notifier::EmitEvents(void) in EmitEvents()
142 Get<NetworkData::Notifier>().HandleNotifierEvents(events); in EmitEvents()
206 void Notifier::LogEvents(Events aEvents) const in LogEvents()
239 const char *Notifier::EventToString(Event aEvent) const in EventToString()
295 void Notifier::LogEvents(Events) const {} in LogEvents()
[all …]
Dnotifier.hpp200 class Notifier : public InstanceLocator, private NonCopyable class
209 explicit Notifier(Instance &aInstance);
320 using EmitEventsTask = TaskletIn<Notifier, &Notifier::EmitEvents>;
Dtime_ticker.cpp95 Get<NetworkData::Notifier>().HandleTimeTick(); in HandleTimer()
/openthread-3.5.0/src/core/backbone_router/
Dbbr_local.cpp113 Get<Notifier>().Signal(kEventThreadBackboneRouterLocalChanged); in Reset()
164 Get<Notifier>().Signal(kEventThreadBackboneRouterLocalChanged); in SetConfig()
192 Get<NetworkData::Notifier>().HandleServerDataUpdated(); in AddService()
206 Get<NetworkData::Notifier>().HandleServerDataUpdated(); in RemoveService()
236 Get<Notifier>().Signal(kEventThreadBackboneRouterStateChanged); in SetState()
274 Get<Notifier>().Signal(kEventThreadBackboneRouterLocalChanged); in HandleBackboneRouterPrimaryUpdate()
277 Get<NetworkData::Notifier>().HandleServerDataUpdated(); in HandleBackboneRouterPrimaryUpdate()
/openthread-3.5.0/src/core/meshcop/
Dnetwork_name.cpp133 Get<Notifier>().Signal(kEventThreadNetworkNameChanged); in SignalNetworkNameChange()
137 Get<Notifier>().SignalIfFirst(kEventThreadNetworkNameChanged); in SignalNetworkNameChange()
Dextended_panid.cpp65 … IgnoreError(Get<Notifier>().Update(mExtendedPanId, aExtendedPanId, kEventThreadExtPanIdChanged)); in SetExtPanId()
Ddataset_updater.hpp61 friend class ot::Notifier;
Djoiner_router.hpp59 friend class ot::Notifier;
/openthread-3.5.0/src/core/api/
Dborder_router_api.cpp116 AsCoreType(aInstance).Get<NetworkData::Notifier>().HandleServerDataUpdated(); in otBorderRouterRegister()
126 AsCoreType(aInstance).Get<NetworkData::Notifier>().SetNetDataFullCallback(aCallback, aContext); in otBorderRouterSetNetDataFullCallback()
Dinstance_api.cpp103 return AsCoreType(aInstance).Get<Notifier>().RegisterCallback(aCallback, aContext); in otSetStateChangedCallback()
108 AsCoreType(aInstance).Get<Notifier>().RemoveCallback(aCallback, aContext); in otRemoveStateChangeCallback()
Dserver_api.cpp89 AsCoreType(aInstance).Get<NetworkData::Notifier>().HandleServerDataUpdated(); in otServerRegister()
/openthread-3.5.0/src/core/utils/
Dotns.hpp64 friend class ot::Notifier;
Dslaac_address.hpp65 friend class ot::Notifier;
Djam_detector.hpp57 friend class ot::Notifier;

123