Agora C++ API Reference for All Platforms

Public Member Functions | List of all members
agora::base::ISyncTransport Class Referenceabstract

## Public Member Functions
virtual void | connect (const char *token, const char *channelName, rtc::uid_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, rtc::uid_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,
|  | rtc::uid_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,
|  | rtc::uid_t | uid
| ) |  |
| inline virtual

## ◆ registerObserver()

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