Navigation
API > API/Plugins > API/Plugins/MegascansPlugin
Inheritance Hierarchy
- FRunnable
- FTCPServer
References
| Module | MegascansPlugin |
| Header | /Engine/Plugins/Bridge/Source/MegascansPlugin/Public/TCPServer.h |
| Include | #include "TCPServer.h" |
Syntax
class FTCPServer : public FRunnable
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< class FSocket * > | Clients | ||
| int32 | ConnectionTimeout | ||
| FSocket * | ListenerSocket | ||
| FString | LocalHostIP | ||
| int32 | PortNum |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FTCPServer () |
Destructors
| Type | Name | Description | |
|---|---|---|---|
~FTCPServer () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | HandleIncomingSocket
(
FSocket* IncomingConnection |
||
| bool | HandleListenerConnectionAccepted
(
FSocket* ClientSocket, |
||
| bool | RecvMessage
(
FSocket* Socket, |
Overridden from FRunnable
| Type | Name | Description | |
|---|---|---|---|
| bool | Init () |
Initializes the runnable object. | |
| uint32 | Run () |
Runs the runnable object. | |
| void | Stop () |
Stops the runnable object.This is called if a thread is requested to terminate early. |
Constants
| Name | Description |
|---|---|
| ImportQueue |