Navigation
API > API/Plugins > API/Plugins/ConcertSyncCore
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.
This is mainly designed for the recovery system.
| Name | FConcertLocalFileSharingService |
| Type | class |
| Header File | /Engine/Plugins/Developer/Concert/ConcertSync/ConcertSyncCore/Source/ConcertSyncCore/Public/ConcertLocalFileSharingService.h |
| Include Path | #include "ConcertLocalFileSharingService.h" |
Syntax
class FConcertLocalFileSharingService : public IConcertFileSharingService
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FConcertLocalFileSharingService
(
const FString& Role |
Construct the local file sharing service. | ConcertLocalFileSharingService.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FConcertLocalFileSharingService() |
ConcertLocalFileSharingService.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActiveServicesRepositoryPathname | FString | ConcertLocalFileSharingService.h | ||
| SharedRootPathname | FString | ConcertLocalFileSharingService.h | ||
| SystemMutexName | FString | ConcertLocalFileSharingService.h |
Functions
Public
Overridden from IConcertFileSharingService
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedPtr< FArchive > CreateReader
(
const FString& InFileId |
Consumes a file corresponding to the unique file ID, if available. | ConcertLocalFileSharingService.h | |
| Copies the specified file in the service storage and return a unique ID required to consume it back. | ConcertLocalFileSharingService.h | ||
| Copies the content of the archive in the service storage and return a unique ID required to consume it back. | ConcertLocalFileSharingService.h |