nl:: Weave:: Profiles:: Vendor:: Nestlabs:: DropcamLegacyPairing:: DropcamLegacyPairingServer
#include <src/lib/profiles/vendor/nestlabs/dropcam-legacy-pairing/DropcamLegacyPairing.h>
用于实现 Dropcam 旧版配对配置文件的服务器类。
摘要
继承
继承自: nl::Weave::WeaveServerBase
构造函数和析构函数 |
|
---|---|
DropcamLegacyPairingServer(void)
Null 初始化 Dropcam 旧版配对服务器。
|
受保护的属性 |
|
---|---|
mDelegate
|
公共函数 |
|
---|---|
Init(WeaveExchangeManager *exchangeMgr)
|
初始化 Dropcam 旧版配对服务器状态并注册以接收 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 )
Null 初始化 Dropcam 旧版配对服务器。
在使用前必须调用 Init()。
Init
WEAVE_ERROR Init( WeaveExchangeManager *exchangeMgr )
初始化 Dropcam 旧版配对服务器状态并注册以接收 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 )