|
| IFileService2 (void)=default |
| Constructs an IFileService2 instance.
|
|
virtual void | ExistsMany (ExistsManyPathsDelegate pathsDelegate, ExistsManyResultDelegate resultDelegate)=0 |
| Checks if the specified files exist. More...
|
|
virtual void | WriteMany (WriteManyWriteFileDataDelegate writeFileDataDelegate, WriteManyResultDelegate resultDelegate)=0 |
| Writes the given data to the specified files. More...
|
|
virtual void | ReadMany (ReadManyReadFileInfoDelegate readFileInfoDelegate, ReadManyReadFileDataDelegate readFileDataDelegate)=0 |
| Reads the specified files. More...
|
|
virtual void | DeleteMany (DeleteManyFilePathsDelegate filePathsDelegate, DeleteManyResultDelegate resultDelegate)=0 |
| Deletes the specified files. More...
|
|
| IFileService (void)=default |
| Constructs an IFileService instance.
|
|
virtual boolean | Exists (const RscString< 512 > &path)=0 |
| Checks if the specified file exists. More...
|
|
virtual FileSystemError | Write (const RscString< 512 > &filePath, boolean overwrite, const std::vector< TraitItem > &traitItems, RscStream data)=0 |
| Writes the given data to the specified file. More...
|
|
virtual FileSystemError | Read (Traits fileTraits, const RscString< 512 > &filePath, RscStream data, std::vector< TraitItem > &traitItems)=0 |
| Reads the specified file from device. More...
|
|
virtual FileSystemError | Delete (const RscString< 512 > &filePath)=0 |
| Deletes the specified file. More...
|
|
virtual FileSystemError | Move (boolean createDirectory, boolean overwrite, const RscString< 512 > &sourceFilePath, const RscString< 512 > &destinationFilePath)=0 |
| Moves the specified file. More...
|
|
virtual FileSystemError | Copy (boolean createDirectory, boolean overwrite, const RscString< 512 > &sourceFilePath, const RscString< 512 > &destinationFilePath)=0 |
| Copies the specified files. More...
|
|
| IRscService (void)=default |
| The default constructor.
|
|
| IRscService (const IRscService &arg)=delete |
| The deleted copy constructor. More...
|
|
| IRscService (IRscService &&arg) noexcept=default |
| The default move constructor. More...
|
|
IRscService & | operator= (const IRscService &arg)=delete |
| The deleted assignment operator. More...
|
|
IRscService & | operator= (IRscService &&arg) noexcept=default |
| The default move-assignment operator. More...
|
|
virtual | ~IRscService (void)=default |
| Destructs this instance and frees all resources.
|
|
Provides common file operations for several files in a single call.
The path separator is always '/'.
This service itself has no limitation to the file size. The service has been tested with file transfers up to 4GB. Depending on the target, the client, their configuration and their resources the actual size limit may vary.
This service is defined in library Arp.System.Commons.Services.
Realtime Usage: This API call does not have to be deterministic in runtime behaviour, so an asynchronous execution should be considered.