Google は、黒人コミュニティのための人種的公平の促進に取り組んでいます。詳細をご覧ください。

nl ::織り::プロファイル:: ServiceProvisioning :: ServiceProvisioningServer

#include <src/lib/profiles/service-provisioning/ServiceProvisioning.h>

ServiceProvisioningプロファイルを実装するための単純なサーバークラス。

概要

継承

:から継承NL ::織り:: WeaveServerBase
直系の既知のサブクラス: NL ::織り:: DeviceLayer ::内部:: ServiceProvisioningServer

コンストラクタとデストラクタ

ServiceProvisioningServer (void)

保護されたタイプ

@307列挙型

保護された属性

mCurClientOp
mCurClientOpBuf
PacketBuffer *
mCurClientOpMsg
union nl::Weave::Profiles::ServiceProvisioning::ServiceProvisioningServer::@308
mCurServerOp
mDelegate
mServerOpState
uint8_t

パブリック属性

RegisterServicePairAccount
UpdateService

公の行事

GetDelegate (void) const
Init ( WeaveExchangeManager *exchangeMgr)
SendIFJServiceFabricJoinRequest ( Binding *binding, uint64_t serviceId, uint64_t fabricId, const uint8_t *deviceInitData, uint16_t deviceInitDataLen)
SendPairDeviceToAccountRequest ( WeaveConnection *serverCon, uint64_t serviceId, uint64_t fabricId, const char *accountId, uint16_t accountIdLen, const uint8_t *pairingToken, uint16_t pairingTokenLen, const uint8_t *pairingInitData, uint16_t pairingInitDataLen, const uint8_t *deviceInitData, uint16_t deviceInitDataLen)
SendPairDeviceToAccountRequest ( Binding *binding, uint64_t serviceId, uint64_t fabricId, const char *accountId, uint16_t accountIdLen, const uint8_t *pairingToken, uint16_t pairingTokenLen, const uint8_t *pairingInitData, uint16_t pairingInitDataLen, const uint8_t *deviceInitData, uint16_t deviceInitDataLen)
SendStatusReport (uint32_t statusProfileId, uint16_t statusCode, WEAVE_ERROR sysError)
virtual WEAVE_ERROR
SendSuccessResponse (void)
virtual WEAVE_ERROR
SetDelegate ( ServiceProvisioningDelegate *delegate)
void
Shutdown (void)

パブリック静的関数

IsValidServiceConfig (const uint8_t *serviceConfig, uint16_t serviceConfigLen)
bool

保護されたタイプ

@ 307

 @307

保護された属性

mCurClientOp

ExchangeContext * mCurClientOp

mCurClientOpBuf

PacketBuffer * mCurClientOpBuf

mCurClientOpMsg

union nl::Weave::Profiles::ServiceProvisioning::ServiceProvisioningServer::@308 mCurClientOpMsg

mCurServerOp

ExchangeContext * mCurServerOp

mDelegate

ServiceProvisioningDelegate * mDelegate

mServerOpState

uint8_t mServerOpState

パブリック属性

RegisterServicePairAccount

RegisterServicePairAccountMessage RegisterServicePairAccount

UpdateService

UpdateServiceMessage UpdateService

公の行事

GetDelegate

ServiceProvisioningDelegate * GetDelegate(
  void
) const 

初期化

WEAVE_ERROR Init(
  WeaveExchangeManager *exchangeMgr
)

SendIFJServiceFabricJoinRequest

WEAVE_ERROR SendIFJServiceFabricJoinRequest(
  Binding *binding,
  uint64_t serviceId,
  uint64_t fabricId,
  const uint8_t *deviceInitData,
  uint16_t deviceInitDataLen
)

SendPairDeviceToAccountRequest

WEAVE_ERROR SendPairDeviceToAccountRequest(
  WeaveConnection *serverCon,
  uint64_t serviceId,
  uint64_t fabricId,
  const char *accountId,
  uint16_t accountIdLen,
  const uint8_t *pairingToken,
  uint16_t pairingTokenLen,
  const uint8_t *pairingInitData,
  uint16_t pairingInitDataLen,
  const uint8_t *deviceInitData,
  uint16_t deviceInitDataLen
)

SendPairDeviceToAccountRequest

WEAVE_ERROR SendPairDeviceToAccountRequest(
  Binding *binding,
  uint64_t serviceId,
  uint64_t fabricId,
  const char *accountId,
  uint16_t accountIdLen,
  const uint8_t *pairingToken,
  uint16_t pairingTokenLen,
  const uint8_t *pairingInitData,
  uint16_t pairingInitDataLen,
  const uint8_t *deviceInitData,
  uint16_t deviceInitDataLen
)

SendStatusReport

virtual WEAVE_ERROR SendStatusReport(
  uint32_t statusProfileId,
  uint16_t statusCode,
  WEAVE_ERROR sysError
)

SendSuccessResponse

virtual WEAVE_ERROR SendSuccessResponse(
  void
)

ServiceProvisioningServer

 ServiceProvisioningServer(
  void
)

SetDelegate

void SetDelegate(
  ServiceProvisioningDelegate *delegate
)

シャットダウン

WEAVE_ERROR Shutdown(
  void
)

パブリック静的関数

IsValidServiceConfig

bool IsValidServiceConfig(
  const uint8_t *serviceConfig,
  uint16_t serviceConfigLen
)