Simulated Reality SDK 7500c78d v1.30.2.51085 2024-04-26T11:23:03Z
Stable
|
Interface defining how to send messages between SR applications. More...
#include <networkinterface.h>
Public Member Functions | |
virtual void | send (uint64_t destination, void *payload, uint64_t payloadSize)=0 |
Send data over NetworkInterface. More... | |
virtual bool | isActive ()=0 |
Returns whether the connection is active. More... | |
Interface defining how to send messages between SR applications.
|
pure virtual |
Returns whether the connection is active.
Can be used to determine when related instances can be cleaned up
|
pure virtual |
Send data over NetworkInterface.
destination | represents the remote instance to receive message |
payload | local address of data to be sent over the NetworkInterface |
payloadSize | size in memory of data to be sent over the NetworkInterface |