Google se compromete a impulsar la igualdad racial para las comunidades afrodescendientes. Obtén información al respecto.
Se usó la API de Cloud Translation para traducir esta página.
Switch to English

nl :: Tejido:: Perfiles: Provisión de servicios:: ServiceProvisioningServer

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

Clase de servidor simple para implementar el perfil de aprovisionamiento de servicios.

Resumen

Herencia

Se hereda de: nl :: Weave :: WeaveServerBase
Subclases conocidas directas: nl :: Weave :: DeviceLayer :: Internal :: ServiceProvisioningServer

Constructores y Destructores

ServiceProvisioningServer (void)

Tipos protegidos

@307 enumeración

Atributos protegidos

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

Atributos públicos

RegisterServicePairAccount
UpdateService

Funciones publicas

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)

Funciones estáticas públicas

IsValidServiceConfig (const uint8_t *serviceConfig, uint16_t serviceConfigLen)
bool

Tipos protegidos

@ 307

 @307

Atributos protegidos

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

Atributos públicos

RegisterServicePairAccount

RegisterServicePairAccountMessage RegisterServicePairAccount

UpdateService

UpdateServiceMessage UpdateService

Funciones publicas

GetDelegate

ServiceProvisioningDelegate * GetDelegate(
  void
) const 

En eso

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
)

Cerrar

WEAVE_ERROR Shutdown(
  void
)

Funciones estáticas públicas

IsValidServiceConfig

bool IsValidServiceConfig(
  const uint8_t *serviceConfig,
  uint16_t serviceConfigLen
)