class FabricProvisioningDelegate
Defined at line 112 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Profiles/fabric-provisioning/FabricProvisioning.h
Delegate class for implementing additional actions corresponding to Fabric Provisioning operations.
Public Methods
WEAVE_ERROR HandleCreateFabric ()
Indicates that the device has created a new Fabric.
WEAVE_ERROR HandleJoinExistingFabric ()
Indicates that the device has joined an existing Fabric.
WEAVE_ERROR HandleLeaveFabric ()
Indicates that the device has left a Fabric.
WEAVE_ERROR HandleGetFabricConfig ()
Indicates that the configuration of the current Weave Fabric has been
requested.
void EnforceAccessControl (ExchangeContext * ec, uint32_t msgProfileId, uint8_t msgType, const WeaveMessageInfo * msgInfo, AccessControlResult & result)
Enforce message-level access control for an incoming Fabric Provisioning request message.
Parameters
ec [in] The ExchangeContext over which the message was received.
msgProfileId [in] The profile id of the received message.
msgType [in] The message type of the received message.
msgInfo [in] A WeaveMessageInfo structure containing information about the received message.
result [in] An enumerated value describing the result of access control policy evaluation for the received message. Upon entry to the method, the value represents the tentative result at the current point in the evaluation process. Upon return, the result is expected to represent the final assessment of access control policy for the message.
bool IsPairedToAccount ()
Called to determine if the device is currently paired to an account.
TODO: make this pure virtual when product code provides appropriate implementations.