Navigation
API > API/Plugins > API/Plugins/MultiServerReplication
| Name | FMultiServerTransport |
| Type | class |
| Header File | /Engine/Plugins/Runtime/MultiServerReplication/Source/MultiServerReplication/Public/MultiServerTransport.h |
| Include Path | #include "MultiServerTransport.h" |
Syntax
class FMultiServerTransport :
public FRunnable ,
public FGCObject
Inheritance Hierarchy
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMultiServerTransport
(
const FString& SharedSessionKeySecretString, |
MultiServerTransport.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FMultiServerTransport() |
MultiServerTransport.h |
Structs
| Name | Remarks |
|---|---|
| FPeer | |
| FPendingPeer |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| AuthMessageSize | uint32 | MultiServerTransport.h | |
| ConnectTimeout | double | MultiServerTransport.h | |
| HMACHashSize | uint32 | MultiServerTransport.h | |
| MagicNumber | uint32 | MultiServerTransport.h | |
| NonceSize | uint32 | MultiServerTransport.h | |
| SharedSessionKeySize | uint32 | MultiServerTransport.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AllEndpointsConnectedEventQueue | TSpscQueue< bool > | MultiServerTransport.h | ||
| AllServerAddresses | TArray< FString > | MultiServerTransport.h | ||
| bIsRunning | TAtomic< bool > | MultiServerTransport.h | ||
| ConnectedEndpointCount | int32 | MultiServerTransport.h | ||
| ListenSocket | FUniqueSocket | MultiServerTransport.h | ||
| LocalPeerId | FString | MultiServerTransport.h | ||
| LocalPeerIndex | int32 | MultiServerTransport.h | ||
| LoopbackRecvSocket | FUniqueSocket | MultiServerTransport.h | ||
| LoopbackSendSocket | FUniqueSocket | This is a loopback socket used to signal the transport thread to wake up when the game thread pushes a message to send into the queue | MultiServerTransport.h | |
| PeerStates | TArray< TUniquePtr< FPeer > > | MultiServerTransport.h | ||
| PendingPeerStates | TArray< TUniquePtr< FPendingPeer > > | MultiServerTransport.h | ||
| SharedSessionKeySecret | uint8 | MultiServerTransport.h | ||
| TransportThread | TUniquePtr< FRunnableThread > | MultiServerTransport.h | ||
| World | UWorld * | MultiServerTransport.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ForEachEndpoint
(
TFunctionRef< void(UMultiServerTransportEndpoint*)> Operation |
MultiServerTransport.h | ||
bool GameThreadTick () |
Processes incoming RPCs on all peer endpoints. | MultiServerTransport.h | |
UMultiServerTransportEndpoint * GetEndpointForRemotePeer
(
FStringView RemotePeerId |
MultiServerTransport.h | ||
T * GetEndpointForRemotePeer
(
FStringView RemotePeerId |
MultiServerTransport.h | ||
FString GetLocalPeerId() |
MultiServerTransport.h | ||
int32 GetNumExpectedConnections() |
MultiServerTransport.h | ||
UWorld * GetWorld() |
MultiServerTransport.h | ||
void SetWorld
(
UWorld* InWorld |
MultiServerTransport.h |
Public Virtual
Overridden from FRunnable
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual uint32 Run() |
MultiServerTransport.h | ||
virtual void Stop() |
MultiServerTransport.h |
Overridden from FGCObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddReferencedObjects
(
FReferenceCollector& Collector |
MultiServerTransport.h | ||
virtual FString GetReferencerName() |
MultiServerTransport.h |