nl:: Weave:: Profiles:: FabricProvisioning:: FabricProvisioningDelegate
This is an abstract class.
#include <src/lib/profiles/fabric-provisioning/FabricProvisioning.h>
Delegate class for implementing additional actions corresponding to Fabric Provisioning operations.
Summary
Inheritance
Inherits from: nl::Weave::WeaveServerDelegateBaseDirect Known Subclasses: nl::Weave::DeviceLayer::Internal::FabricProvisioningServer
Public functions |
|
---|---|
EnforceAccessControl(ExchangeContext *ec, uint32_t msgProfileId, uint8_t msgType, const WeaveMessageInfo *msgInfo, AccessControlResult & result)
|
virtual void
Enforce message-level access control for an incoming Fabric Provisioning request message.
|
HandleCreateFabric(void)=0
|
virtual WEAVE_ERROR
Indicates that the device has created a new Fabric.
|
HandleGetFabricConfig(void)=0
|
virtual WEAVE_ERROR
Indicates that the configuration of the current Weave Fabric has been requested.
|
HandleJoinExistingFabric(void)=0
|
virtual WEAVE_ERROR
Indicates that the device has joined an existing Fabric.
|
HandleLeaveFabric(void)=0
|
virtual WEAVE_ERROR
Indicates that the device has left a Fabric.
|
IsPairedToAccount() const
|
virtual bool
Called to determine if the device is currently paired to an account.
|
Public functions
EnforceAccessControl
virtual 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.
Details | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Parameters |
|
HandleCreateFabric
virtual WEAVE_ERROR HandleCreateFabric( void )=0
Indicates that the device has created a new Fabric.
Details | |||||
---|---|---|---|---|---|
Return Values |
|
HandleGetFabricConfig
virtual WEAVE_ERROR HandleGetFabricConfig( void )=0
Indicates that the configuration of the current Weave Fabric has been requested.
Details | |||||
---|---|---|---|---|---|
Return Values |
|
HandleJoinExistingFabric
virtual WEAVE_ERROR HandleJoinExistingFabric( void )=0
Indicates that the device has joined an existing Fabric.
Details | |||||
---|---|---|---|---|---|
Return Values |
|
HandleLeaveFabric
virtual WEAVE_ERROR HandleLeaveFabric( void )=0
Indicates that the device has left a Fabric.
Details | |||||
---|---|---|---|---|---|
Return Values |
|
IsPairedToAccount
virtual bool IsPairedToAccount() const
Called to determine if the device is currently paired to an account.