Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
Public Member Functions | List of all members
agora::base::ISyncTransportObserver Class Referenceabstract

`#include <sync_client_i.h>`

## Public Member Functions
virtual void | onConnectResult (bool connected)=0
virtual void | onDisconnected ()=0
virtual void | onError (int err)=0
virtual void | onDataReceived (const char *data, size_t length)=0
virtual void | OnTicketRefreshed (const char *key, const char *ticket)=0
virtual | ~ISyncTransportObserver ()

## Detailed Description

sync transport observer

## Constructor & Destructor Documentation

## ◆ ~ISyncTransportObserver()

virtual agora::base::ISyncTransportObserver::~ISyncTransportObserver | ( |  | ) |
| inline virtual

## Member Function Documentation

## ◆ onConnectResult()

virtual void agora::base::ISyncTransportObserver::onConnectResult | ( | bool | connected | ) |
| pure virtual

## ◆ onDisconnected()

virtual void agora::base::ISyncTransportObserver::onDisconnected | ( |  | ) |
| pure virtual

## ◆ onError()

virtual void agora::base::ISyncTransportObserver::onError | ( | int | err | ) |
| pure virtual

## ◆ onDataReceived()

virtual void agora::base::ISyncTransportObserver::onDataReceived | ( | const char * | data,
|  | size_t | length )
| pure virtual

## ◆ OnTicketRefreshed()

virtual void agora::base::ISyncTransportObserver::OnTicketRefreshed | ( | const char * | key,
|  | const char * | ticket )
| pure virtual