LeiaSR SDK 720218b2 v1.32.7.6322 2025-02-13T14:55:38Z
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 |