Skip to content
Snippets Groups Projects
Commit 34d73cc2 authored by Daniele Kruse's avatar Daniele Kruse
Browse files

Added function to return the copy No. of RetrieveFromTapeCopyRequest and added...

Added function to return the copy No. of RetrieveFromTapeCopyRequest and added the corresponding cpp in the CMakeLists.txt
parent e8ed942a
Branches
Tags
No related merge requests found
......@@ -33,6 +33,7 @@ set (CTA_SCHEDULER_SRC_FILES
MountCriteria.cpp
RetrievalFileTransfer.cpp
RetrievalMount.cpp
RetrieveFromTapeCopyRequest.cpp
RetrieveRequest.cpp
RetrieveToDirRequest.cpp
RetrieveToFileRequest.cpp
......
......@@ -36,6 +36,7 @@ cta::RetrieveFromTapeCopyRequest::~RetrieveFromTapeCopyRequest() throw() {
//------------------------------------------------------------------------------
cta::RetrieveFromTapeCopyRequest::RetrieveFromTapeCopyRequest(
const std::string &archiveFile,
const uint64_t copyNb,
const TapeCopyLocation &tapeCopy,
const std::string &remoteFile,
const uint64_t priority,
......@@ -43,10 +44,18 @@ cta::RetrieveFromTapeCopyRequest::RetrieveFromTapeCopyRequest(
const time_t creationTime):
RetrieveRequest(priority, user, creationTime),
m_archiveFile(archiveFile),
m_copyNb(copyNb),
m_tapeCopy(tapeCopy),
m_remoteFile(remoteFile) {
}
//------------------------------------------------------------------------------
// getCopyNb
//------------------------------------------------------------------------------
uint64_t cta::RetrieveFromTapeCopyRequest::getCopyNb() const throw(){
return m_copyNb;
}
//------------------------------------------------------------------------------
// getArchiveFile
//------------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment