nl:: Weave:: Warm:: WarmFabricStateDelegate
#include <src/warm/Warm.h>
This is an internal class to WarmCore.
Summary
It implements the FabricStateDelegate interface. An instance of this class (namely sWarmFabricStateDelegate), is set as the delegate of WeaveFabricState. Warm uses this to be notified of Fabric state changes.
Inheritance
Inherits from: nl::Weave::FabricStateDelegate
Public functions |
|
---|---|
DidJoinFabric(WeaveFabricState *fabricState, uint64_t newFabricId)
|
virtual void
This method is invoked by WeaveFabricState when joining/creating a new fabric.
|
DidLeaveFabric(WeaveFabricState *fabricState, uint64_t oldFabricId)
|
virtual void
This method is invoked by WeaveFabricState when leaving/clearing a fabric.
|
Public functions
DidJoinFabric
virtual void DidJoinFabric( WeaveFabricState *fabricState, uint64_t newFabricId )
This method is invoked by WeaveFabricState when joining/creating a new fabric.
Details | |||||
---|---|---|---|---|---|
Parameters |
|
DidLeaveFabric
virtual void DidLeaveFabric( WeaveFabricState *fabricState, uint64_t oldFabricId )
This method is invoked by WeaveFabricState when leaving/clearing a fabric.
Details | |||||
---|---|---|---|---|---|
Parameters |
|