nl:: Weave:: Profiles:: DeviceControl:: DeviceControlServer
#include <src/lib/profiles/device-control/DeviceControl.h>
Device Control プロファイルを実装するためのサーバークラス。
概要
継承
継承元: nl::Weave::WeaveServerBase直接的な既知のサブクラス: nl::Weave::DeviceLayer::Internal::DeviceControlServer
コンストラクタとデストラクタ |
|
---|---|
DeviceControlServer(void)
|
パブリック関数 |
|
---|---|
Init(WeaveExchangeManager *exchangeMgr)
|
デバイス コントロール サーバーの状態を初期化し、デバイス コントロール メッセージを受け取るよう登録します。
|
IsRemotePassiveRendezvousInProgress(void) const
|
bool
リモートのパッシブ ランデブ状態を返します。
|
SendStatusReport(uint32_t statusProfileId, uint16_t statusCode, WEAVE_ERROR sysError)
|
virtual WEAVE_ERROR
リクエストへのステータス レポート レスポンスを送信します。
|
SendSuccessResponse(void)
|
virtual WEAVE_ERROR
デバイス コントロール リクエストに成功レスポンスを送信します。
|
SetDelegate(DeviceControlDelegate *delegate)
|
void
Device Control Server イベントを処理するようにデリゲートを設定します。
|
Shutdown(void)
|
デバイス コントロール サーバーをシャットダウンします。
|
SystemTestTimeout(void)
|
void
|
プロテクト属性
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
パブリック関数
DeviceControlServer
DeviceControlServer( void )
init
WEAVE_ERROR Init( WeaveExchangeManager *exchangeMgr )
デバイス コントロール サーバーの状態を初期化し、デバイス コントロール メッセージを受け取るよう登録します。
詳細 | |||||||
---|---|---|---|---|---|---|---|
パラメータ |
|
||||||
戻り値 |
|
IsRemotePassiveRendezvousInProgress
bool IsRemotePassiveRendezvousInProgress( void ) const
リモートのパッシブ ランデブ状態を返します。
詳細 | |||||
---|---|---|---|---|---|
戻り値 |
|
SendStatusReport
virtual WEAVE_ERROR SendStatusReport( uint32_t statusProfileId, uint16_t statusCode, WEAVE_ERROR sysError )
リクエストへのステータス レポート レスポンスを送信します。
詳細 | |||||||
---|---|---|---|---|---|---|---|
パラメータ |
|
||||||
戻り値 |
|
SendSuccessResponse
virtual WEAVE_ERROR SendSuccessResponse( void )
デバイス コントロール リクエストに成功レスポンスを送信します。
詳細 | |||||||
---|---|---|---|---|---|---|---|
戻り値 |
|
SetDelegate
void SetDelegate( DeviceControlDelegate *delegate )
Device Control Server イベントを処理するようにデリゲートを設定します。
詳細 | |||
---|---|---|---|
パラメータ |
|
SystemTestTimeout
void SystemTestTimeout( void )