nl:: Weave:: Profiles:: Vendor:: Nestlabs:: DropcamLegacyPairing:: DropcamLegacyPairingServer
#include <src/lib/profiles/vendor/nestlabs/dropcam-legacy-pairing/DropcamLegacyPairing.h>
實作 Dropcam 舊版配對設定檔的伺服器類別。
摘要
繼承
沿用來源: nl::Weave::WeaveServerBase
建構函式和解構函式 |
|
---|---|
DropcamLegacyPairingServer(void)
為 Dropcam Legacy 配對伺服器為空值。
|
受保護的屬性 |
|
---|---|
mDelegate
|
公用函式 |
|
---|---|
Init(WeaveExchangeManager *exchangeMgr)
|
初始化 Dropcam Legacy 配對伺服器狀態,然後註冊以接收 Dropcam 舊版配對伺服器訊息。
|
SetDelegate(DropcamLegacyPairingDelegate *delegate)
|
void
設定委派以處理 Dropcam 舊版配對伺服器事件。
|
Shutdown(void)
|
關閉 Dropcam 舊版配對伺服器。
|
受保護的靜態函式 |
|
---|---|
HandleClientRequest(ExchangeContext *ec, const IPPacketInfo *pktInfo, const WeaveMessageInfo *msgInfo, uint32_t profileId, uint8_t msgType, PacketBuffer *payload)
|
void
|
受保護的函式 |
|
---|---|
DropcamLegacyPairingServer(const DropcamLegacyPairingServer &)
|
|
HandleCameraAuthDataRequest(ExchangeContext *ec, PacketBuffer *& msgBuf)
|
受保護的屬性
mDelegate
DropcamLegacyPairingDelegate * mDelegate
公用函式
DropcamLegacyPairingServer
DropcamLegacyPairingServer( void )
為 Dropcam Legacy 配對伺服器為空值。
必須先呼叫 Init() 才能使用。
Init
WEAVE_ERROR Init( WeaveExchangeManager *exchangeMgr )
初始化 Dropcam Legacy 配對伺服器狀態,然後註冊以接收 Dropcam 舊版配對伺服器訊息。
詳細說明 | |||||
---|---|---|---|---|---|
參數 |
|
||||
傳回值 |
|
SetDelegate
void SetDelegate( DropcamLegacyPairingDelegate *delegate )
設定委派以處理 Dropcam 舊版配對伺服器事件。
詳細說明 | |||
---|---|---|---|
參數 |
|
受保護的靜態函式
HandleClientRequest
void HandleClientRequest( ExchangeContext *ec, const IPPacketInfo *pktInfo, const WeaveMessageInfo *msgInfo, uint32_t profileId, uint8_t msgType, PacketBuffer *payload )
受保護的函式
DropcamLegacyPairingServer
DropcamLegacyPairingServer( const DropcamLegacyPairingServer & )
HandleCameraAuthDataRequest
WEAVE_ERROR HandleCameraAuthDataRequest( ExchangeContext *ec, PacketBuffer *& msgBuf )