Interface for copy progress notification. More...
#include <XrdClCopyProcess.hh>
Public Member Functions | |
| virtual | ~CopyProgressHandler () |
| virtual void | BeginJob (uint32_t jobNum, uint32_t jobTotal, const URL *source, const URL *destination) |
| virtual void | EndJob (uint32_t jobNum, const PropertyList *result) |
| virtual void | JobProgress (uint32_t jobNum, uint64_t bytesProcessed, uint64_t bytesTotal) |
| virtual bool | ShouldCancel (uint32_t jobNum) |
| Determine whether the job should be canceled. | |
Interface for copy progress notification.
Definition at line 41 of file XrdClCopyProcess.hh.
|
inlinevirtual |
Definition at line 44 of file XrdClCopyProcess.hh.
|
inlinevirtual |
Notify when a new job is about to start
| jobNum | the job number of the copy job concerned |
| jobTotal | total number of jobs being processed |
| source | the source url of the current job |
| destination | the destination url of the current job |
Reimplemented in ProgressDisplay.
Definition at line 54 of file XrdClCopyProcess.hh.
|
inlinevirtual |
Notify when the previous job has finished
| jobNum | job number |
| result | result of the job |
Reimplemented in ProgressDisplay, and ProgressDisplay.
Definition at line 68 of file XrdClCopyProcess.hh.
|
inlinevirtual |
Notify about the progress of the current job
| jobNum | job number |
| bytesProcessed | bytes processed by the current job |
| bytesTotal | total number of bytes to be processed by the current job |
Reimplemented in ProgressDisplay, and ProgressDisplay.
Definition at line 82 of file XrdClCopyProcess.hh.
Referenced by XrdCl::ClassicCopyJob::Run().
|
inlinevirtual |
Determine whether the job should be canceled.
Definition at line 92 of file XrdClCopyProcess.hh.
Referenced by XrdCl::ClassicCopyJob::Run().