41 CopyJob( jobId, jobProperties, jobResults ),
46 "from %s to %s",
GetSource().GetObfuscatedURL().c_str(),
67 bool tpcFallBack =
false;
75 if( st.
IsOK() )
return st;
81 log->
Debug(
UtilityMsg,
"TPC is not supported, falling back to streaming mode." );
85 return pJob->
Run( progress );
virtual XRootDStatus Run(CopyProgressHandler *progress=0)=0
const URL & GetSource() const
Get source.
const URL & GetTarget() const
Get target.
PropertyList * pProperties
Interface for copy progress notification.
static Log * GetLog()
Get default log.
void Debug(uint64_t topic, const char *format,...)
Print a debug message.
A key-value pair map storing both keys and values as strings.
bool Get(const std::string &name, Item &item) const
TPFallBackCopyJob(uint16_t jobId, PropertyList *jobProperties, PropertyList *jobResults)
Constructor.
virtual ~TPFallBackCopyJob()
Destructor.
virtual XRootDStatus Run(CopyProgressHandler *progress=0)
const uint16_t errOperationExpired
const uint64_t UtilityMsg
const uint16_t errNotSupported
uint16_t code
Error type, or additional hints on what to do.
bool IsOK() const
We're fine.