xrootd
Public Member Functions | Protected Attributes | List of all members
XrdCl::CopyJob Class Referenceabstract

Copy job. More...

#include <XrdClCopyJob.hh>

Inheritance diagram for XrdCl::CopyJob:
Inheritance graph
[legend]
Collaboration diagram for XrdCl::CopyJob:
Collaboration graph
[legend]

Public Member Functions

 CopyJob (uint16_t jobId, PropertyList *jobProperties, PropertyList *jobResults)
 Constructor. More...
 
virtual ~CopyJob ()
 Virtual destructor. More...
 
virtual XRootDStatus Run (CopyProgressHandler *progress=0)=0
 
PropertyList * GetProperties ()
 Get the job properties. More...
 
PropertyList * GetResults ()
 Get the job results. More...
 
const URL & GetSource () const
 Get source. More...
 
const URL & GetTarget () const
 Get target. More...
 

Protected Attributes

PropertyList * pProperties
 
PropertyList * pResults
 
URL pSource
 
URL pTarget
 
uint16_t pJobId
 

Detailed Description

Copy job.

Constructor & Destructor Documentation

◆ CopyJob()

XrdCl::CopyJob::CopyJob ( uint16_t  jobId,
PropertyList *  jobProperties,
PropertyList *  jobResults 
)
inline

Constructor.

References XrdCl::PropertyList::Get(), pProperties, pSource, and pTarget.

◆ ~CopyJob()

virtual XrdCl::CopyJob::~CopyJob ( )
inlinevirtual

Virtual destructor.

Member Function Documentation

◆ GetProperties()

PropertyList* XrdCl::CopyJob::GetProperties ( )
inline

Get the job properties.

References pProperties.

◆ GetResults()

PropertyList* XrdCl::CopyJob::GetResults ( )
inline

Get the job results.

References pResults.

◆ GetSource()

const URL& XrdCl::CopyJob::GetSource ( ) const
inline

Get source.

References pSource.

◆ GetTarget()

const URL& XrdCl::CopyJob::GetTarget ( ) const
inline

Get target.

References pTarget.

◆ Run()

virtual XRootDStatus XrdCl::CopyJob::Run ( CopyProgressHandler *  progress = 0)
pure virtual

Run the copy job

Parameters
progressthe handler to be notified about the copy progress
Returns
status of the copy operation

Implemented in XrdCl::TPFallBackCopyJob, XrdCl::ThirdPartyCopyJob, and XrdCl::ClassicCopyJob.

Member Data Documentation

◆ pJobId

uint16_t XrdCl::CopyJob::pJobId
protected

◆ pProperties

PropertyList* XrdCl::CopyJob::pProperties
protected

Referenced by CopyJob(), and GetProperties().

◆ pResults

PropertyList* XrdCl::CopyJob::pResults
protected

Referenced by GetResults().

◆ pSource

URL XrdCl::CopyJob::pSource
protected

Referenced by CopyJob(), and GetSource().

◆ pTarget

URL XrdCl::CopyJob::pTarget
protected

Referenced by CopyJob(), and GetTarget().


The documentation for this class was generated from the following file: