GOG GALAXY SDK Documentation
IConnectionDataListener Class Referenceabstract

Listener for the event of receiving data over the connection. More...

#include <ICustomNetworking.h>

Inheritance diagram for IConnectionDataListener:
[legend]

Public Member Functions

virtual void OnConnectionDataReceived (ConnectionID connectionID, uint32_t dataSize)=0
 Notification for the event of receiving data over the connection. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< CUSTOM_NETWORKING_CONNECTION_DATA >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 

Detailed Description

Listener for the event of receiving data over the connection.

Member Function Documentation

◆ OnConnectionDataReceived()

virtual void OnConnectionDataReceived ( ConnectionID  connectionID,
uint32_t  dataSize 
)
pure virtual

Notification for the event of receiving data over the connection.

Parameters
[in]connectionIDThe ID if the connection.
[in]dataSizeThe amount of new data received (in bytes).