nl::Weave::Profiles::ServiceProvisioning::ServiceProvisioningDelegate

This is an abstract class.

Summary

Inheritance

Inherits from: nl::Weave::WeaveServerDelegateBase
Direct Known Subclasses: nl::Weave::DeviceLayer::Internal::ServiceProvisioningServer

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 Service Provisioning request message.
HandleIFJServiceFabricJoinResult(WEAVE_ERROR localErr, uint32_t serverStatusProfileId, uint16_t serverStatusCode)=0
virtual void
HandlePairDeviceToAccountResult(WEAVE_ERROR localErr, uint32_t serverStatusProfileId, uint16_t serverStatusCode)=0
virtual void
HandleRegisterServicePairAccount(RegisterServicePairAccountMessage & msg)=0
virtual WEAVE_ERROR
HandleUnregisterService(uint64_t serviceId)=0
virtual WEAVE_ERROR
HandleUpdateService(UpdateServiceMessage & msg)=0
virtual WEAVE_ERROR
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 Service Provisioning request message.

Details
Parameters
[in] ec
The ExchangeContext over which the message was received.
[in] msgProfileId
The profile id of the received message.
[in] msgType
The message type of the received message.
[in] msgInfo
A WeaveMessageInfo structure containing information about the received message.
[in,out] result
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.

HandleIFJServiceFabricJoinResult

virtual void HandleIFJServiceFabricJoinResult(
  WEAVE_ERROR localErr,
  uint32_t serverStatusProfileId,
  uint16_t serverStatusCode
)=0

HandlePairDeviceToAccountResult

virtual void HandlePairDeviceToAccountResult(
  WEAVE_ERROR localErr,
  uint32_t serverStatusProfileId,
  uint16_t serverStatusCode
)=0

HandleRegisterServicePairAccount

virtual WEAVE_ERROR HandleRegisterServicePairAccount(
  RegisterServicePairAccountMessage & msg
)=0

HandleUnregisterService

virtual WEAVE_ERROR HandleUnregisterService(
  uint64_t serviceId
)=0

HandleUpdateService

virtual WEAVE_ERROR HandleUpdateService(
  UpdateServiceMessage & msg
)=0

IsPairedToAccount

virtual bool IsPairedToAccount() const 

Called to determine if the device is currently paired to an account.