Navigation
API > API/Plugins > API/Plugins/OnlineSubsystemUtils > API/Plugins/OnlineSubsystemUtils/UIpNetDriver
Inheritance Hierarchy
- FRunnable
- UIpNetDriver::FReceiveThreadRunnable
References
| Module | OnlineSubsystemUtils |
| Header | /Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Classes/IpNetDriver.h |
| Include | #include "IpNetDriver.h" |
Syntax
class FReceiveThreadRunnable : public FRunnable
Remarks
Runnable object representing the receive thread, if enabled.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TAtomic< bool > | bIsRunning | Running flag. The Run() function will return shortly after setting this to false. | |
| TCircularQueue< FReceivedPacket > | ReceiveQueue | Thread-safe queue of received packets. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FReceiveThreadRunnable
(
UIpNetDriver* InOwningNetDriver |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Execute commands in OwnerEventQueue on the Game Thread | ||
| uint32 | Run () |
||
| void | SetSocket
(
const TSharedPtr< FSocket >& InGameThreadSocket, |
Sets the socket for the Receive Thread, and triggers a callback (if specified) on the Game Thread when this is complete. |