nl::Weave::DeviceLayer::Internal::ServiceProvisioningServer

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

Implements the Weave Service Provisioning profile for a Weave device.

Summary

Inheritance

Inherits from:
  nl::Weave::Profiles::ServiceProvisioning::ServiceProvisioningServer
  nl::Weave::Profiles::ServiceProvisioning::ServiceProvisioningDelegate

Public functions

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
Called to determine if the device is currently paired to an account.
OnPlatformEvent(const WeaveDeviceEvent *event)
void

Protected functions

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

Public functions

HandleIFJServiceFabricJoinResult

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

HandlePairDeviceToAccountResult

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

HandleRegisterServicePairAccount

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

HandleUnregisterService

virtual WEAVE_ERROR HandleUnregisterService(
  uint64_t serviceId
) override

HandleUpdateService

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

Init

WEAVE_ERROR Init(
  void
)

IsPairedToAccount

virtual bool IsPairedToAccount(
  void
) const override

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

OnPlatformEvent

void OnPlatformEvent(
  const WeaveDeviceEvent *event
)

Protected functions

ServiceProvisioningServer

 ServiceProvisioningServer()=default

ServiceProvisioningServer

 ServiceProvisioningServer(
  const ServiceProvisioningServer &
)=delete

ServiceProvisioningServer

 ServiceProvisioningServer(
  const ServiceProvisioningServer &&
)=delete

operator=

ServiceProvisioningServer & operator=(
  const ServiceProvisioningServer &
)=delete

~ServiceProvisioningServer

 ~ServiceProvisioningServer()=default