XrdCl::ThirdPartyCopyJob Class Reference

#include <XrdClThirdPartyCopyJob.hh>

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

List of all members.

Public Member Functions

 ThirdPartyCopyJob (uint16_t jobId, PropertyList *jobProperties, PropertyList *jobResults)
 Constructor.
virtual XRootDStatus Run (CopyProgressHandler *progress=0)

Private Member Functions

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

Static Private Member Functions

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

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

Constructor & Destructor Documentation

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

Constructor.


Member Function Documentation

XRootDStatus XrdCl::ThirdPartyCopyJob::CanDo (  )  [private]

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

Parameters:
property list - 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
static std::string XrdCl::ThirdPartyCopyJob::GenerateKey (  )  [static, private]

Generate TPC key.

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

Run the copy job

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

Implements XrdCl::CopyJob.

XRootDStatus XrdCl::ThirdPartyCopyJob::RunLite ( CopyProgressHandler progress  )  [private]

Run TPC-lite copy job.

XRootDStatus XrdCl::ThirdPartyCopyJob::RunTPC ( CopyProgressHandler progress  )  [private]

Run vanilla copy job.


Member Data Documentation

std::string XrdCl::ThirdPartyCopyJob::tpcKey [private]

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

Generated on 2 Aug 2019 for xrootd by  doxygen 1.6.1