nl:: Weave:: Profiles:: DeviceControl:: DeviceControlServer
#include <src/lib/profiles/device-control/DeviceControl.h>
Class server untuk menerapkan profil Kontrol Perangkat.
Ringkasan
Inheritance
Mewarisi dari: nl::Weave::WeaveServerBaseSubclass yang Dikenal Langsung: nl::Weave::DeviceLayer::Internal::DeviceControlServer
Konstruktor dan Destruktor |
|
---|---|
DeviceControlServer(void)
|
Atribut yang dilindungi |
|
---|---|
mCurClientOp
|
|
mDelegate
|
|
mFailSafeArmed
|
bool
|
mFailSafeToken
|
uint32_t
|
mRemotePassiveRendezvousClientCon
|
|
mRemotePassiveRendezvousEncryptionType
|
uint8_t
|
mRemotePassiveRendezvousJoinerAddr
|
|
mRemotePassiveRendezvousJoinerCon
|
|
mRemotePassiveRendezvousKeyId
|
uint16_t
|
mRemotePassiveRendezvousOp
|
|
mRemotePassiveRendezvousTimeout
|
uint16_t
|
mRemotePassiveRendezvousTunnel
|
|
mResetFlags
|
uint16_t
|
mTunnelInactivityTimeout
|
uint16_t
|
Fungsi publik |
|
---|---|
Init(WeaveExchangeManager *exchangeMgr)
|
Lakukan inisialisasi status Server Kontrol Perangkat dan daftar untuk menerima pesan Kontrol Perangkat.
|
IsRemotePassiveRendezvousInProgress(void) const
|
bool
Mengembalikan status Rendezvous Pasif Jarak Jauh.
|
SendStatusReport(uint32_t statusProfileId, uint16_t statusCode, WEAVE_ERROR sysError)
|
virtual WEAVE_ERROR
Kirim respons laporan status ke permintaan.
|
SendSuccessResponse(void)
|
virtual WEAVE_ERROR
Kirim respons sukses ke permintaan Kontrol Perangkat.
|
SetDelegate(DeviceControlDelegate *delegate)
|
void
Tetapkan delegasi untuk memproses peristiwa Server Kontrol Perangkat.
|
Shutdown(void)
|
Matikan Server Kontrol Perangkat.
|
SystemTestTimeout(void)
|
void
|
Atribut yang dilindungi
mCurClientOp
ExchangeContext * mCurClientOp
mDelegate
DeviceControlDelegate * mDelegate
mFailSafeArmed
bool mFailSafeArmed
mFailSafeToken
uint32_t mFailSafeToken
mRemotePassiveRendezvousClientCon
WeaveConnection * mRemotePassiveRendezvousClientCon
mRemotePassiveRendezvousEncryptionType
uint8_t mRemotePassiveRendezvousEncryptionType
mRemotePassiveRendezvousJoinerAddr
IPAddress mRemotePassiveRendezvousJoinerAddr
mRemotePassiveRendezvousJoinerCon
WeaveConnection * mRemotePassiveRendezvousJoinerCon
mRemotePassiveRendezvousKeyId
uint16_t mRemotePassiveRendezvousKeyId
mRemotePassiveRendezvousOp
ExchangeContext * mRemotePassiveRendezvousOp
mRemotePassiveRendezvousTimeout
uint16_t mRemotePassiveRendezvousTimeout
mRemotePassiveRendezvousTunnel
WeaveConnectionTunnel * mRemotePassiveRendezvousTunnel
mResetFlags
uint16_t mResetFlags
mTunnelInactivityTimeout
uint16_t mTunnelInactivityTimeout
Fungsi publik
DeviceControlServer
DeviceControlServer( void )
Init
WEAVE_ERROR Init( WeaveExchangeManager *exchangeMgr )
Lakukan inisialisasi status Server Kontrol Perangkat dan daftar untuk menerima pesan Kontrol Perangkat.
Detail | |||||||
---|---|---|---|---|---|---|---|
Parameter |
|
||||||
Nilai yang Ditampilkan |
|
IsRemotePassiveRendezvousInProgress
bool IsRemotePassiveRendezvousInProgress( void ) const
Mengembalikan status Rendezvous Pasif Jarak Jauh.
Detail | |||||
---|---|---|---|---|---|
Nilai yang Ditampilkan |
|
SendStatusReport
virtual WEAVE_ERROR SendStatusReport( uint32_t statusProfileId, uint16_t statusCode, WEAVE_ERROR sysError )
Kirim respons laporan status ke permintaan.
Detail | |||||||
---|---|---|---|---|---|---|---|
Parameter |
|
||||||
Nilai yang Ditampilkan |
|
SendSuccessResponse
virtual WEAVE_ERROR SendSuccessResponse( void )
Kirim respons sukses ke permintaan Kontrol Perangkat.
Detail | |||||||
---|---|---|---|---|---|---|---|
Nilai yang Ditampilkan |
|
SetDelegate
void SetDelegate( DeviceControlDelegate *delegate )
Tetapkan delegasi untuk memproses peristiwa Server Kontrol Perangkat.
Detail | |||
---|---|---|---|
Parameter |
|
Nonaktif
WEAVE_ERROR Shutdown( void )
Matikan Server Kontrol Perangkat.
Detail | |||
---|---|---|---|
Nilai yang Ditampilkan |
|
SystemTestTimeout
void SystemTestTimeout( void )