xrootd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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...
 
void Init ()
 
PropertyListGetProperties ()
 Get the job properties. More...
 
PropertyListGetResults ()
 Get the job results. More...
 
const URLGetSource () const
 Get source. More...
 
const URLGetTarget () 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
PropertyListpProperties
 
PropertyListpResults
 
URL pSource
 
URL pTarget
 
uint16_t pJobId
 

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
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
static std::string XrdCl::ThirdPartyCopyJob::GenerateKey ( )
staticprivate

Generate TPC key.

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.

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::checkSumMode
private
std::string XrdCl::ThirdPartyCopyJob::checkSumPreset
private
std::string XrdCl::ThirdPartyCopyJob::checkSumType
private
bool XrdCl::ThirdPartyCopyJob::coerce
private
bool XrdCl::ThirdPartyCopyJob::delegate
private
XrdCl::File XrdCl::ThirdPartyCopyJob::dstFile
private
bool XrdCl::ThirdPartyCopyJob::force
private
uint16_t XrdCl::ThirdPartyCopyJob::initTimeout
private
int XrdCl::ThirdPartyCopyJob::nbStrm
private
URL XrdCl::ThirdPartyCopyJob::realTarget
private
uint64_t XrdCl::ThirdPartyCopyJob::sourceSize
private
std::string XrdCl::ThirdPartyCopyJob::tpcKey
private
bool XrdCl::ThirdPartyCopyJob::tpcLite
private
URL XrdCl::ThirdPartyCopyJob::tpcSource
private

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