| FRunnable | ||
| FSingleThreadRunnable
|
Module |
|
Header |
/Engine/Source/Runtime/Networking/Public/Common/UdpSocketReceiver.h |
Include |
#include "Common/UdpSocketReceiver.h" |
class FUdpSocketReceiver :
public FRunnable,
private FSingleThreadRunnable
Asynchronously receives data from an UDP socket.
Name | Description | |
---|---|---|
|
FUdpSocketReceiver |
Creates and initializes a new socket receiver. |
Name | Description | |
---|---|---|
|
~FUdpSocketReceiver() |
Virtual destructor. |
Name | Description | ||
---|---|---|---|
|
FOnSocketDat... |
OnDataReceived() |
Returns a delegate that is executed when data has been received. |
|
SetMaxReadBufferSize ( |
Set the maximum size allocated to read off of the socket. |
|
|
Start() |
Start the receiver thread. |
|
|
Update ( |
Update this socket receiver. |
Name | Description | ||
---|---|---|---|
|
Exit() |
Exits the runnable object. |
|
|
FSingleThrea... |
GetSingleThreadInterface() |
Gets single thread interface pointer used for ticking this runnable when multi-threading is disabled. |
|
Init() |
Initializes the runnable object. |
|
|
Run() |
Runs the runnable object. |
|
|
Stop() |
Stops the runnable object. This is called if a thread is requested to terminate early. |