|
TcrSdk-Windows V1.0
|
This interface represents a data channel between the client and the cloud application. More...
#include <custom_data_channel.h>
Classes | |
| class | Observer |
| A class can implement the Observer interface when it wants to be informed of events in CustomDataChannel objects. More... | |
Public Member Functions | |
| virtual bool | Send (const char *data)=0 |
| Send data to the cloud Application. | |
| virtual void | Close ()=0 |
| Close this data channel. | |
This interface represents a data channel between the client and the cloud application.
The client can send a message to the cloud application via the {
In terms of implementation, the {
|
pure virtual |
Close this data channel.
|
pure virtual |
Send data to the cloud Application.
| data | The data to be sent, which cannot exceed 1,200 bytes. |