The agent retrieves commands from other agents and based on them generates a state change of the file currently processed.
Command
Description
Begin Batch
When a Begin Batch message is received, the temporary directory DR_TMP_DIR is first created in the target directory, if not already created. Then, a target file is created and opened in the temporary directory.
End Batch
When an End Batch message is received, the target file in DR_TMP_DIR is closed and, finally, the file is moved from the temporary directory to the target directory.
Cancel Batch
If a Cancel Batch message is received, the target file is removed from the DR_TMP_DIR directory.