Navigation
API > API/Runtime > API/Runtime/DirectLink
The DirectLink system enable multiple application to send and receive data over the network. This is a N to N system that can be used to broadcast or consume content. The main components of that systems:
- Endpoint (DirectLink::FEndpoint class) Represent a node on the network, capable of discovering other nodes. It is the main interface for that systems.
- Source Declared on an Endpoint, a Source is a Named handle that can hold content.
- Destination Similar to a Source, it is a named handle declared on an endpoint, capable of receiving content.
- Stream (aka. connection) A stream represents a connection between a Source and a Destination. When a stream is established, the content of the source is kept in sync on the Destination.
- Snapshot DirectLink works with snapshots. When a Source is snapshotted, the content graph is discovered from the root, and each reached node is serialized. This snapshot is the content that will be streamed to connected destinations.
| Name | FDirectLinkModule |
| Type | class |
| Header File | /Engine/Source/Runtime/Datasmith/DirectLink/Public/DirectLinkModule.h |
| Include Path | #include "DirectLinkModule.h" |
Syntax
class FDirectLinkModule : public IModuleInterface
Implements Interfaces
Functions
Public
Overridden from IModuleInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void StartupModule() |
DirectLinkModule.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FDirectLinkModule & Get() |
DirectLinkModule.h | ||
static bool IsAvailable() |
DirectLinkModule.h |