xrootd
Loading...
Searching...
No Matches
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.
 
virtual ~CopyJob ()
 Virtual destructor.
 
void Init ()
 
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
 

Detailed Description

Copy job.

Constructor & Destructor Documentation

◆ CopyJob()

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

Constructor.

References Init().

◆ ~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.

◆ Init()

void XrdCl::CopyJob::Init ( )
inline

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

Referenced by CopyJob().

◆ 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::ClassicCopyJob, XrdCl::ThirdPartyCopyJob, and XrdCl::TPFallBackCopyJob.

Member Data Documentation

◆ pJobId

uint16_t XrdCl::CopyJob::pJobId
protected

◆ pProperties

PropertyList* XrdCl::CopyJob::pProperties
protected

Referenced by GetProperties(), and Init().

◆ pResults

PropertyList* XrdCl::CopyJob::pResults
protected

Referenced by GetResults().

◆ pSource

URL XrdCl::CopyJob::pSource
protected

Referenced by GetSource(), and Init().

◆ pTarget

URL XrdCl::CopyJob::pTarget
protected

Referenced by GetTarget(), and Init().


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