Agora C++ API Reference for All Platforms

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

`#include <sync_client_i.h>`

## Public Member Functions
virtual void | connect (const char *token, const char *channelName, user_id_t uid)=0
virtual void | disconnect ()=0
virtual void | sendBuffer (const char *data, size_t length)=0
virtual void | renewTokenWithChannelInfo (const char *token, const char *channelName, user_id_t uid)
virtual void | registerObserver (ISyncTransportObserver *observer)=0
virtual | ~ISyncTransport ()

## Constructor & Destructor Documentation

## ◆ ~ISyncTransport()

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

## Member Function Documentation

## ◆ connect()

virtual void agora::base::ISyncTransport::connect | ( | const char * | token,
|  | const char * | channelName,
|  | user_id_t | uid )
| pure virtual

## ◆ disconnect()

virtual void agora::base::ISyncTransport::disconnect | ( |  | ) |
| pure virtual

## ◆ sendBuffer()

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

## ◆ renewTokenWithChannelInfo()

virtual void agora::base::ISyncTransport::renewTokenWithChannelInfo | ( | const char * | token,
|  | const char * | channelName,
|  | user_id_t | uid )
| inline virtual

## ◆ registerObserver()

virtual void agora::base::ISyncTransport::registerObserver | ( | ISyncTransportObserver * | observer | ) |
| pure virtual