Public Member Functions | |
| ProgressDisplay () | |
| Constructor. | |
| ProgressDisplay () | |
| virtual void | BeginJob (uint32_t jobNum, uint32_t jobTotal, const XrdCl::URL *source, const XrdCl::URL *destination) |
| Begin job. | |
| virtual void | EndJob (uint32_t jobNum, const XrdCl::PropertyList *results) |
| End job. | |
| virtual void | EndJob (uint32_t jobNum, const XrdCl::PropertyList *results) |
| std::string | GetProgressBar (time_t now) |
| Get progress bar. | |
| std::string | GetSummaryBar (time_t now) |
| Get sumary bar. | |
| virtual void | JobProgress (uint32_t jobNum, uint64_t bytesProcessed, uint64_t bytesTotal) |
| Job progress. | |
| virtual void | JobProgress (uint32_t jobNum, uint64_t bytesProcessed, uint64_t bytesTotal) |
| void | PrintAdditionalCheckSum (bool print) |
| void | PrintCheckSum (const XrdCl::URL *url, const std::string &checkSum, uint64_t size) |
| Print the checksum. | |
| void | PrintProgressBar (bool print) |
| void | PrintSourceCheckSum (bool print) |
| void | PrintTargetCheckSum (bool print) |
| Public Member Functions inherited from XrdCl::CopyProgressHandler | |
| virtual | ~CopyProgressHandler () |
| virtual bool | ShouldCancel (uint32_t jobNum) |
| Determine whether the job should be canceled. | |
Definition at line 47 of file XrdClCopy.cc.
|
inline |
Constructor.
Definition at line 53 of file XrdClCopy.cc.
|
inline |
Definition at line 1459 of file XrdClFS.cc.
|
inlinevirtual |
Begin job.
Reimplemented from XrdCl::CopyProgressHandler.
Definition at line 61 of file XrdClCopy.cc.
References XrdCl::URL::GetURL().
|
inlinevirtual |
End job.
Reimplemented from XrdCl::CopyProgressHandler.
Definition at line 88 of file XrdClCopy.cc.
References XrdCl::PropertyList::Get(), XrdCl::Status::IsOK(), JobProgress(), and PrintCheckSum().
|
inlinevirtual |
Notify when the previous job has finished
| jobNum | job number |
| result | result of the job |
Reimplemented from XrdCl::CopyProgressHandler.
Definition at line 1465 of file XrdClFS.cc.
References JobProgress().
|
inline |
Get progress bar.
Definition at line 148 of file XrdClCopy.cc.
References XrdCl::Utils::BytesToString().
Referenced by JobProgress().
|
inline |
Get sumary bar.
Definition at line 190 of file XrdClCopy.cc.
References XrdCl::Utils::BytesToString().
Referenced by JobProgress().
|
inlinevirtual |
Job progress.
Reimplemented from XrdCl::CopyProgressHandler.
Definition at line 221 of file XrdClCopy.cc.
References GetProgressBar(), and GetSummaryBar().
Referenced by EndJob().
|
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 from XrdCl::CopyProgressHandler.
Definition at line 1474 of file XrdClFS.cc.
References XrdCl::Utils::BytesToString().
|
inline |
Definition at line 284 of file XrdClCopy.cc.
Referenced by main().
|
inline |
Print the checksum.
Definition at line 256 of file XrdClCopy.cc.
References XrdCl::URL::GetHostId(), XrdCl::URL::GetPath(), XrdCl::URL::GetProtocol(), and XrdCl::URL::IsLocalFile().
Referenced by EndJob().
|
inline |
Definition at line 281 of file XrdClCopy.cc.
Referenced by main().
|
inline |
Definition at line 282 of file XrdClCopy.cc.
Referenced by main().
|
inline |
Definition at line 283 of file XrdClCopy.cc.
Referenced by main().