nl:: Weave:: Profiles:: Vendor:: Nestlabs:: DropcamLegacyPairing:: DropcamLegacyPairingServer
#include <src/lib/profiles/vendor/nestlabs/dropcam-legacy-pairing/DropcamLegacyPairing.h>
Server class for implementing the Dropcam Legacy Pairing profile.
Summary
Inheritance
Inherits from: nl::Weave::WeaveServerBase
Constructors and Destructors |
|
---|---|
DropcamLegacyPairingServer(void)
Null-initialize the Dropcam Legacy Pairing Server.
|
Protected attributes |
|
---|---|
mDelegate
|
Public functions |
|
---|---|
Init(WeaveExchangeManager *exchangeMgr)
|
Initialize the Dropcam Legacy Pairing Server state and register to receive Dropcam Legacy Pairing messages.
|
SetDelegate(DropcamLegacyPairingDelegate *delegate)
|
void
Set the delegate to process Dropcam Legacy Pairing Server events.
|
Shutdown(void)
|
Shutdown the Dropcam Legacy Pairing Server.
|
Protected static functions |
|
---|---|
HandleClientRequest(ExchangeContext *ec, const IPPacketInfo *pktInfo, const WeaveMessageInfo *msgInfo, uint32_t profileId, uint8_t msgType, PacketBuffer *payload)
|
void
|
Protected functions |
|
---|---|
DropcamLegacyPairingServer(const DropcamLegacyPairingServer &)
|
|
HandleCameraAuthDataRequest(ExchangeContext *ec, PacketBuffer *& msgBuf)
|
Protected attributes
mDelegate
DropcamLegacyPairingDelegate * mDelegate
Public functions
DropcamLegacyPairingServer
DropcamLegacyPairingServer( void )
Null-initialize the Dropcam Legacy Pairing Server.
Must call Init() prior to use.
Init
WEAVE_ERROR Init( WeaveExchangeManager *exchangeMgr )
Initialize the Dropcam Legacy Pairing Server state and register to receive Dropcam Legacy Pairing messages.
Details | |||||
---|---|---|---|---|---|
Parameters |
|
||||
Return Values |
|
SetDelegate
void SetDelegate( DropcamLegacyPairingDelegate *delegate )
Set the delegate to process Dropcam Legacy Pairing Server events.
Details | |||
---|---|---|---|
Parameters |
|
Shutdown
WEAVE_ERROR Shutdown( void )
Shutdown the Dropcam Legacy Pairing Server.
Details | |||
---|---|---|---|
Return Values |
|
Protected static functions
HandleClientRequest
void HandleClientRequest( ExchangeContext *ec, const IPPacketInfo *pktInfo, const WeaveMessageInfo *msgInfo, uint32_t profileId, uint8_t msgType, PacketBuffer *payload )
Protected functions
DropcamLegacyPairingServer
DropcamLegacyPairingServer( const DropcamLegacyPairingServer & )
HandleCameraAuthDataRequest
WEAVE_ERROR HandleCameraAuthDataRequest( ExchangeContext *ec, PacketBuffer *& msgBuf )