透過集合功能整理內容 你可以依據偏好儲存及分類內容。

nl::Weave::DeviceLayer::內部::ServiceProvisioningServer

#include <src/adaptations/device-layer/include/Weave/DeviceLayer/internal/ServiceProvisioningServer.h>

實作 Weave 裝置的 Weave 服務佈建設定檔。

總結

繼承

繼承來源:
nl::Weave::Profiles::ServiceProvisioning::ServiceProvisioningServer
nl::Weave::Profiles::ServiceProvisioning::ServiceProvisioningDelegate

公開函式

HandleIFJServiceFabricJoinResult(WEAVE_ERROR localErr, uint32_t serverStatusProfileId, uint16_t serverStatusCode) override
virtual void
HandlePairDeviceToAccountResult(WEAVE_ERROR localErr, uint32_t serverStatusProfileId, uint16_t serverStatusCode) override
virtual void
HandleRegisterServicePairAccount(::nl::Weave::Profiles::ServiceProvisioning::RegisterServicePairAccountMessage & msg) override
HandleUnregisterService(uint64_t serviceId) override
virtual WEAVE_ERROR
HandleUpdateService(::nl::Weave::Profiles::ServiceProvisioning::UpdateServiceMessage & msg) override
Init(void)
IsPairedToAccount(void) const override
virtual bool
系統會呼叫,判斷裝置目前是否與某個帳戶配對。
OnPlatformEvent(const WeaveDeviceEvent *event)
void

受保護的函式

ServiceProvisioningServer()=default
ServiceProvisioningServer(const ServiceProvisioningServer &)=delete
ServiceProvisioningServer(const ServiceProvisioningServer &&)=delete
operator=(const ServiceProvisioningServer &)=delete
~ServiceProvisioningServer()=default

公開函式

處理 IFJServiceFabric 彙整結果

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

處理配對裝置對帳戶結果

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

處理註冊服務配對帳戶

WEAVE_ERROR HandleRegisterServicePairAccount(
  ::nl::Weave::Profiles::ServiceProvisioning::RegisterServicePairAccountMessage & msg
) override

處理 UnregisterService

virtual WEAVE_ERROR HandleUnregisterService(
  uint64_t serviceId
) override

處理更新服務

WEAVE_ERROR HandleUpdateService(
  ::nl::Weave::Profiles::ServiceProvisioning::UpdateServiceMessage & msg
) override

Init

WEAVE_ERROR Init(
  void
)

是否為配對帳戶

virtual bool IsPairedToAccount(
  void
) const override

系統會呼叫,判斷裝置目前是否與某個帳戶配對。

OnPlatform 事件

void OnPlatformEvent(
  const WeaveDeviceEvent *event
)

受保護的函式

服務佈建伺服器

 ServiceProvisioningServer()=default

服務佈建伺服器

 ServiceProvisioningServer(
  const ServiceProvisioningServer &
)=delete

服務佈建伺服器

 ServiceProvisioningServer(
  const ServiceProvisioningServer &&
)=delete

運算子=

ServiceProvisioningServer & operator=(
  const ServiceProvisioningServer &
)=delete

~ServiceProvisioningServer

 ~ServiceProvisioningServer()=default