class ServiceProvisioningDelegate

Defined at line 179 of file gen/third_party/openweave-core/src/include/Weave/Profiles/service-provisioning/ServiceProvisioning.h

Public Methods

WEAVE_ERROR HandleRegisterServicePairAccount (RegisterServicePairAccountMessage & msg)
WEAVE_ERROR HandleUpdateService (UpdateServiceMessage & msg)
WEAVE_ERROR HandleUnregisterService (uint64_t serviceId)
void HandlePairDeviceToAccountResult (WEAVE_ERROR localErr, uint32_t serverStatusProfileId, uint16_t serverStatusCode)
void EnforceAccessControl (ExchangeContext * ec, uint32_t msgProfileId, uint8_t msgType, const WeaveMessageInfo * msgInfo, AccessControlResult & result)

Enforce message-level access control for an incoming Service 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.