xrootd
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
XrdCl::ThirdPartyCopyJob Class Reference

#include <XrdClThirdPartyCopyJob.hh>

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

Public Member Functions

 ThirdPartyCopyJob (uint16_t jobId, PropertyList *jobProperties, PropertyList *jobResults)
 Constructor. More...
 
virtual XRootDStatus Run (CopyProgressHandler *progress=0)
 
- Public Member Functions inherited from XrdCl::CopyJob
 CopyJob (uint16_t jobId, PropertyList *jobProperties, PropertyList *jobResults)
 Constructor. More...
 
virtual ~CopyJob ()
 Virtual destructor. More...
 
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...
 

Private Member Functions

XRootDStatus CanDo ()
 
XRootDStatus RunTPC (CopyProgressHandler *progress)
 Run vanilla copy job. More...
 
XRootDStatus RunLite (CopyProgressHandler *progress)
 Run TPC-lite copy job. More...
 

Static Private Member Functions

static std::string GenerateKey ()
 Generate TPC key. More...
 

Private Attributes

XrdCl::File dstFile
 
URL tpcSource
 
URL realTarget
 
std::string tpcKey
 
std::string checkSumMode
 
std::string checkSumType
 
std::string checkSumPreset
 
uint64_t sourceSize
 
uint16_t initTimeout
 
bool force
 
bool coerce
 
bool delegate
 
int nbStrm
 
bool tpcLite
 

Additional Inherited Members

- Protected Attributes inherited from XrdCl::CopyJob
PropertyList * pProperties
 
PropertyList * pResults
 
URL pSource
 
URL pTarget
 
uint16_t pJobId
 

Constructor & Destructor Documentation

◆ ThirdPartyCopyJob()

XrdCl::ThirdPartyCopyJob::ThirdPartyCopyJob ( uint16_t  jobId,
PropertyList *  jobProperties,
PropertyList *  jobResults 
)

Constructor.

Member Function Documentation

◆ CanDo()

XRootDStatus XrdCl::ThirdPartyCopyJob::CanDo ( )
private

Check whether doing a third party copy is feasible for given job descriptor

Parameters
propertylist - may be extended by info needed for TPC
Returns
error when a third party copy cannot be performed and fatal error when no copy can be performed

◆ GenerateKey()

static std::string XrdCl::ThirdPartyCopyJob::GenerateKey ( )
staticprivate

Generate TPC key.

◆ Run()

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

Run the copy job

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

Implements XrdCl::CopyJob.

◆ RunLite()

XRootDStatus XrdCl::ThirdPartyCopyJob::RunLite ( CopyProgressHandler *  progress)
private

Run TPC-lite copy job.

◆ RunTPC()

XRootDStatus XrdCl::ThirdPartyCopyJob::RunTPC ( CopyProgressHandler *  progress)
private

Run vanilla copy job.

Member Data Documentation

◆ checkSumMode

std::string XrdCl::ThirdPartyCopyJob::checkSumMode
private

◆ checkSumPreset

std::string XrdCl::ThirdPartyCopyJob::checkSumPreset
private

◆ checkSumType

std::string XrdCl::ThirdPartyCopyJob::checkSumType
private

◆ coerce

bool XrdCl::ThirdPartyCopyJob::coerce
private

◆ delegate

bool XrdCl::ThirdPartyCopyJob::delegate
private

◆ dstFile

XrdCl::File XrdCl::ThirdPartyCopyJob::dstFile
private

◆ force

bool XrdCl::ThirdPartyCopyJob::force
private

◆ initTimeout

uint16_t XrdCl::ThirdPartyCopyJob::initTimeout
private

◆ nbStrm

int XrdCl::ThirdPartyCopyJob::nbStrm
private

◆ realTarget

URL XrdCl::ThirdPartyCopyJob::realTarget
private

◆ sourceSize

uint64_t XrdCl::ThirdPartyCopyJob::sourceSize
private

◆ tpcKey

std::string XrdCl::ThirdPartyCopyJob::tpcKey
private

◆ tpcLite

bool XrdCl::ThirdPartyCopyJob::tpcLite
private

◆ tpcSource

URL XrdCl::ThirdPartyCopyJob::tpcSource
private

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