Zao SDK for Jetson / libzao-endpoint API リファレンス 1.6.0.0 (2024-12-24)
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
zao::endpoint::ip::TunnelCallbackInterface Class Reference

IPパケットトンネリング機能のコールバックインターフェース More...

#include <TunnelInterface.hpp>

Public Types

enum class  EventType {
  kUnknown = 0 , kDisconnected , kUnlinked , kDepacketizeError ,
  kDeactivated , kActivated
}
 イベントの種類 More...
 

Public Member Functions

virtual void OnNotifyTunnelEvent (EventType type, const std::string &message)
 エラーなどのイベントが発生した時に呼び出されるコールバック
 
virtual ~TunnelCallbackInterface () noexcept=default
 TunnelCallbackInterface オブジェクトを破棄する。
 

Detailed Description

IPパケットトンネリング機能のコールバックインターフェース

Member Enumeration Documentation

◆ EventType

イベントの種類

Enumerator
kUnknown 

不明(未初期化の初期値等に用いる)

kDisconnected 

クラウドから切断された

kUnlinked 

クライアント連携が解除された

kDepacketizeError 

デパケタイズ処理でエラーが発生した

kDeactivated 

デバイス切断等により非アクティブ状態になった

kActivated 

双方のデバイス復活等によりアクティブ状態になった

Member Function Documentation

◆ OnNotifyTunnelEvent()

virtual void zao::endpoint::ip::TunnelCallbackInterface::OnNotifyTunnelEvent ( EventType  type,
const std::string &  message 
)
inlinevirtual

エラーなどのイベントが発生した時に呼び出されるコールバック

Parameters
typeイベントの種類
message追加メッセージ

The documentation for this class was generated from the following file: