Navigation
API > API/Plugins > API/Plugins/DisplayClusterReplication
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UPlayer
- UNetConnection
- UIpConnection
- UDisplayClusterNetConnection
References
| Module | DisplayClusterReplication |
| Header | /Engine/Plugins/Runtime/nDisplay/Source/DisplayClusterReplication/Public/DisplayClusterNetConnection.h |
| Include | #include "DisplayClusterNetConnection.h" |
Syntax
UCLASS&40;Transient, Config&61;Engine&41;
class UDisplayClusterNetConnection : public UIpConnection
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bIsClusterConnection | Whether current connection belongs to cluster node | |
| bool | bNodeIsPrimary | Whether current connection belongs to primary cluster node | |
| bool | bSynchronousMode | Whether current connection works in synchronous mode | |
| uint32 | ClientId | Cluster client unique identifier, HashString from NetConnection Challenge | |
| uint32 | ClusterId | Cluster unique identifier, HashString from node config file path | |
| uint32 | ClusterNodesNum | Cluster nodes number | |
| TSortedMap< int32, FBitReader > | InPackets | Data associated with each packet id. | |
| FString | NodeAddress | The ip address of the node, converted to FString from current NetConnection | |
| FString | NodeName | The name of the node, parsed from node URL address | |
| uint16 | NodePort | Cluster node port for binary cluster events | |
| TArray< int32 > | PacketIDs | Storage for InPackets map keys, prevents reallocs. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UDisplayClusterNetConnection
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | Return last notified packet id | ||
| void | ProcessPacket
(
int32 PacketId |
Process accumulated packets in the packet queue until PacketId |
Overridden from UNetConnection
| Type | Name | Description | |
|---|---|---|---|
| void | ReceivedPacket
(
FBitReader& Reader, |
Handle a packet we just received. | |
| void | SetClientLoginState
(
const EClientLoginState::Type NewState |
Wrapper for setting the current client login state, so we can trap for debugging, and verbosity purposes. |