nl:: Weave:: Profiles:: ServiceProvisioning:: ServiceProvisioningDelegate
这是一个抽象类。
摘要
继承
沿用自: nl::Weave::WeaveServerDelegateBase直接已知的子类: nl::Weave::DeviceLayer::Internal::ServiceProvisioningServer
公共函数 |
|
---|---|
EnforceAccessControl(ExchangeContext *ec, uint32_t msgProfileId, uint8_t msgType, const WeaveMessageInfo *msgInfo, AccessControlResult & result)
|
virtual void
对收到的 Service Provisioning 请求消息强制执行消息级访问权限控制。
|
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
调用以确定设备当前是否已与账户配对。
|
公共函数
EnforceAccessControl
virtual void EnforceAccessControl( ExchangeContext *ec, uint32_t msgProfileId, uint8_t msgType, const WeaveMessageInfo *msgInfo, AccessControlResult & result )
对收到的 Service Provisioning 请求消息强制执行消息级访问权限控制。
详细信息 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
参数 |
|
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
调用以确定设备当前是否已与账户配对。