Copy job. More...
#include <XrdClCopyJob.hh>
Public Member Functions | |
CopyJob (uint16_t jobId, PropertyList *jobProperties, PropertyList *jobResults) | |
Constructor. | |
virtual | ~CopyJob () |
Virtual destructor. | |
virtual XRootDStatus | Run (CopyProgressHandler *progress=0)=0 |
PropertyList * | GetProperties () |
Get the job properties. | |
PropertyList * | GetResults () |
Get the job results. | |
const URL & | GetSource () const |
Get source. | |
const URL & | GetTarget () const |
Get target. | |
Protected Attributes | |
PropertyList * | pProperties |
PropertyList * | pResults |
URL | pSource |
URL | pTarget |
uint16_t | pJobId |
Copy job.
XrdCl::CopyJob::CopyJob | ( | uint16_t | jobId, | |
PropertyList * | jobProperties, | |||
PropertyList * | jobResults | |||
) | [inline] |
Constructor.
References XrdCl::PropertyList::Get(), pProperties, pSource, and pTarget.
virtual XrdCl::CopyJob::~CopyJob | ( | ) | [inline, virtual] |
Virtual destructor.
PropertyList* XrdCl::CopyJob::GetProperties | ( | ) | [inline] |
Get the job properties.
References pProperties.
PropertyList* XrdCl::CopyJob::GetResults | ( | ) | [inline] |
Get the job results.
References pResults.
virtual XRootDStatus XrdCl::CopyJob::Run | ( | CopyProgressHandler * | progress = 0 |
) | [pure virtual] |
Run the copy job
progress | the handler to be notified about the copy progress |
Implemented in XrdCl::ClassicCopyJob, XrdCl::ThirdPartyCopyJob, and XrdCl::TPFallBackCopyJob.
uint16_t XrdCl::CopyJob::pJobId [protected] |
PropertyList* XrdCl::CopyJob::pProperties [protected] |
Referenced by CopyJob(), and GetProperties().
PropertyList* XrdCl::CopyJob::pResults [protected] |
Referenced by GetResults().
URL XrdCl::CopyJob::pSource [protected] |
Referenced by CopyJob(), and GetSource().
URL XrdCl::CopyJob::pTarget [protected] |
Referenced by CopyJob(), and GetTarget().