Navigation
API > API/Plugins > API/Plugins/ConcertSyncCore > API/Plugins/ConcertSyncCore/IConcertFileSharingService
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Copy the specified files in a uniquely named file stored in the service directory for sharing. | IConcertFileSharingService.h | ||
| Copies all the bytes contained in the archives in a uniquely named file stored in the service directory for sharing. | IConcertFileSharingService.h | ||
| Copies up to Count bytes contained in the archives in a uniquely named file stored in the service directory for sharing. | IConcertFileSharingService.h |
Publish(const FString &, FString &)
Description
Copy the specified files in a uniquely named file stored in the service directory for sharing. The lifetime of the shared file is implementation specific.
| Name | Publish |
| Type | function |
| Header File | /Engine/Plugins/Developer/Concert/ConcertSync/ConcertSyncCore/Source/ConcertSyncCore/Public/IConcertFileSharingService.h |
| Include Path | #include "IConcertFileSharingService.h" |
bool Publish
(
const FString & Pathname,
FString & OutFileId
)
True if the file was published successfully.
Parameters
| Name | Remarks |
|---|---|
| Pathname | The file to copy and share. |
| OutFileId | The ID of the published file. The publisher is expected to send the ID through the Concert transport layer to the consumer(s) (request/response/event). |
Publish(FArchive &, FString &)
Description
Copies all the bytes contained in the archives in a uniquely named file stored in the service directory for sharing.
| Name | Publish |
| Type | function |
| Header File | /Engine/Plugins/Developer/Concert/ConcertSync/ConcertSyncCore/Source/ConcertSyncCore/Public/IConcertFileSharingService.h |
| Include Path | #include "IConcertFileSharingService.h" |
bool Publish
(
FArchive & SrcAr,
FString & OutFileId
)
True if the file was published successfully.
Parameters
| Name | Remarks |
|---|---|
| SrcAr | The Archive containing the bytes to share. Expected to be at position 0. |
| OutFileId | The ID of the published file. The publisher is expected to send the ID through the Concert transport layer to the consumer(s) (request/response/event). |
Publish(FArchive &, int64, FString &)
Description
Copies up to Count bytes contained in the archives in a uniquely named file stored in the service directory for sharing. The functions reads the archive from its current position up to Count bytes. The lifetime of the shared file is implementation specific.
| Name | Publish |
| Type | function |
| Header File | /Engine/Plugins/Developer/Concert/ConcertSync/ConcertSyncCore/Source/ConcertSyncCore/Public/IConcertFileSharingService.h |
| Include Path | #include "IConcertFileSharingService.h" |
bool Publish
(
FArchive & SrcAr,
int64 Count,
FString & OutFileId
)
True if the file was published successfully.
Parameters
| Name | Remarks |
|---|---|
| SrcAr | The Archive containing the bytes to share. The archive is already at the right position, not necessarily 0. |
| Count | The number of bytes to read from the archive. |
| OutFileId | The ID of the published file. The publisher is expected to send the ID through the Concert transport layer to the consumer(s) (request/response/event). |