FConcertLocalFileSharingService

Share files using a local directory.

Windows
MacOS
Linux

Inheritance Hierarchy

IConcertFileSharingService

FConcertLocalFileSharingService

References

Module

ConcertSyncCore

Header

/Engine/Plugins/Developer/Concert/ConcertSync/ConcertSyncCore/Source/ConcertSyncCore/Public/ConcertLocalFileSharingService.h

Include

#include "ConcertLocalFileSharingService.h"

Syntax

class FConcertLocalFileSharingService : public IConcertFileSharingService

Remarks

Share files using a local directory. It works only for one client and one server running on the same machine. The publisher of a file stores a file for sharing and gets a unique ID to consume the file back. It is the publisher responsibility to share the ID with the consumer (i.e. through a concert msg). The shared files are automatically deleted once consumed or when the file expires.

@note This is mainly designed for the recovery system.

Constructors

Name Description

Public function

FConcertLocalFileSharingService

(
    const FString& Role
)

Construct the local file sharing service.

Destructors

Overridden from IConcertFileSharingService

Name Description

Public function Virtual

TSharedPtr< ...

 

CreateReader

(
    const FString& InFileId
)

Consumes a file corresponding to the unique file ID, if available.

Public function Virtual

bool

 

Publish

(
    const FString& Pathname,
    FString& OutFileId
)

Copies the specified file in the service storage and return a unique ID required to consume it back.

Public function Virtual

bool

 

Publish

(
    FArchive& SrcAr,
    int64 Size,
    FString& OutFileId
)

Copies the content of the archive in the service storage and return a unique ID required to consume it back.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss