Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/Iris > API/Runtime/IrisCore/Iris/DataStream
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDataStream
- UDataStreamManager
References
| Module | IrisCore |
| Header | /Engine/Source/Runtime/Experimental/Iris/Core/Public/Iris/DataStream/DataStreamManager.h |
| Include | #include "Iris/DataStream/DataStreamManager.h" |
Syntax
class UDataStreamManager : public UDataStream
Remarks
The DataStreamManager contains all active DataStreams that may serialize data. Calls to the DataStream interface functions will be forwarded to active streams. Which streams will be automatically created or allowed to be manually created need to be configured via UDataStreamDefinitions.
Constructors
No constructors are accessible with public or protected access.
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| ECreateDataStreamResult | CreateStream
(
const FName StreamName |
Creates a DataStream that has been configured via UDataStreamDefinitions. | |
| void | Deinit () |
Prepare for destruction. | |
| UE::Net::Private::FNetExports & | |||
| EDataStreamSendStatus | GetSendStatus
(
const FName StreamName |
Get the send status of an already created data stream. Returns Pause if the stream isn't created. | |
| const UDataStream * | Gets the data stream with a given name. | ||
| UDataStream * | Gets the data stream with a given name. | ||
| void | Init
(
const FDataStreamManagerInitParams& InitParams |
Initializes the manager. No data stream can be created by the manager before this. | |
| void | SetSendStatus
(
const FName StreamName, |
Set the send status of an already created data stream. |
Overridden from UDataStream
| Type | Name | Description | |
|---|---|---|---|
| EWriteResult | BeginWrite () |
Call BeginWrite on all active data streams. | |
| void | EndWrite () |
Call EndWrite on all active data streams. | |
| void | ProcessPacketDeliveryStatus
(
UE::Net::EPacketDeliveryStatus Status, |
Called for all data streams that wrote to a packet whose delivery status is now known. | |
| void | ReadData
(
UE::Net::FNetSerializationContext& context |
When a packet is received call ReadData on all data streams that wrote something. | |
| EWriteResult | WriteData
(
UE::Net::FNetSerializationContext& context, |
Call WriteData on all active data streams. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FImpl |