Skip to content
Snippets Groups Projects
Commit 6e063d55 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 0cc7a58b
No related branches found
No related tags found
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.
Finish editing this message first!
Please register or to comment