Navigation
API > API/Plugins > API/Plugins/MegascansPlugin
| Name | FTCPServer |
| Type | class |
| Header File | /Engine/Plugins/Bridge/Source/MegascansPlugin/Public/TCPServer.h |
| Include Path | #include "TCPServer.h" |
Syntax
class FTCPServer : public FRunnable
Inheritance Hierarchy
- FRunnable → FTCPServer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTCPServer() |
TCPServer.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FTCPServer() |
TCPServer.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| ImportQueue | TQueue< FString > | TCPServer.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Clients | TArray< class FSocket * > | TCPServer.h | ||
| ConnectionTimeout | int32 | TCPServer.h | ||
| ListenerSocket | FSocket * | TCPServer.h | ||
| LocalHostIP | FString | TCPServer.h | ||
| PortNum | int32 | TCPServer.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ClientThread | FRunnableThread * | TCPServer.h | ||
| ConnectionTimer | TArray< int32 > | TCPServer.h | ||
| Listener | FTcpListener * | TCPServer.h | ||
| PendingClients | TQueue< class FSocket *, EQueueMode::Mpsc > | TCPServer.h | ||
| Stopping | bool | TCPServer.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void HandleIncomingSocket
(
FSocket* IncomingConnection |
TCPServer.h | ||
bool HandleListenerConnectionAccepted
(
FSocket* ClientSocket, |
TCPServer.h | ||
virtual bool Init() |
TCPServer.h | ||
bool RecvMessage
(
FSocket* Socket, |
TCPServer.h | ||
virtual uint32 Run() |
TCPServer.h | ||
virtual void Stop() |
TCPServer.h |