IServerNotifications Interface |
Namespace: ITHit.FileSystem
The IServerNotifications type exposes the following members.
Name | Description | |
---|---|---|
CreateAsync |
Creates new file and folder placeholders in the user file system in this folder.
| |
DeleteAsync |
Deletes a file or folder from the user file system.
| |
MoveToAsync(String) |
Moves the file or folder placeholder in the user file system.
This method succeeds only if source is loaded in to user file system and target parent folder exists and is not offline.
| |
MoveToAsync(String, IFileSystemItemMetadata) |
Moves the file or folder placeholder in the user file system.
Automatically creates the target or deletes source depending on items existance.
| |
MoveToAsync(Byte, String, IFileSystemItemMetadata) |
Moves the file or folder placeholder in the user file system by remote storage item ID.
Automatically creates the target or deletes source depending on items existance.
| |
UpdateAsync |
Updates a file or folder on this virtual drive.
This method automatically hydrates and dehydrates files.
|
Call methods of this interface when the client receives messages from the remote storage (for example via we sockets) about changes in the remote storage, such as files and folders creation, update, deletion, move/rename, etc.
The operations may fail because of various reasons. For example because the item may not be loaded in user file system (because of the on-demand population) or the item may be blocked by the application or by the concurrent thread. In this case the each method of this interface returns the reason in the OperationResult object.