execute
fun execute( fileAction: FileAction, originator: UUID, continuation: () -> Unit)
Content copied to clipboard
Update the wrapped AvailFile with the provided FileAction.
This method is Synchronized to enforce performing actions synchronously. All single-client edits are performed synchronously in client sent order via the client connection I/O message handling.
Concurrent edits by multiple clients cannot be synchronized other than preventing concurrent edits. It is impossible for the server to reason out the appropriate order of edits from different concurrently editing clients.
Parameters
file Action
The FileAction to perform.
originator
The id of the entity that originated the change.
continuation
What to do when sufficient processing has occurred.