XrdCl::CopyJob Class Reference

Copy job. More...

#include <XrdClCopyJob.hh>

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

List of all members.

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

Detailed Description

Copy job.


Constructor & Destructor Documentation

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.


Member Function Documentation

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

Get the job properties.

References pProperties.

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

Get the job results.

References pResults.

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

Get source.

References pSource.

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

Get target.

References pTarget.

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

Run the copy job

Parameters:
progress the 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

uint16_t XrdCl::CopyJob::pJobId [protected]

Referenced by CopyJob(), and GetProperties().

Referenced by GetResults().

Referenced by CopyJob(), and GetSource().

Referenced by CopyJob(), and GetTarget().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 16 Oct 2020 for xrootd by  doxygen 1.6.1