diff OrthancServer/ServerJobs/StorageCommitmentScpJob.h @ 3657:115f82775c46 storage-commitment

handling of storage commitment failure reasons
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 10 Feb 2020 14:53:36 +0100
parents fddf3fc82362
children 08eb0f93c491
line wrap: on
line diff
--- a/OrthancServer/ServerJobs/StorageCommitmentScpJob.h	Mon Feb 10 10:37:10 2020 +0100
+++ b/OrthancServer/ServerJobs/StorageCommitmentScpJob.h	Mon Feb 10 14:53:36 2020 +0100
@@ -36,7 +36,7 @@
 #include "../../Core/DicomNetworking/RemoteModalityParameters.h"
 #include "../../Core/JobsEngine/SetOfCommandsJob.h"
 
-#include <list>
+#include <vector>
 
 namespace Orthanc
 {
@@ -45,7 +45,8 @@
   class StorageCommitmentScpJob : public SetOfCommandsJob
   {
   private:
-    class LookupCommand;    
+    class StorageCommitmentCommand;
+    class LookupCommand;
     class AnswerCommand;
     class Unserializer;
 
@@ -54,13 +55,7 @@
     std::string               transactionUid_;
     RemoteModalityParameters  remoteModality_;
     std::string               calledAet_;
-    std::list<std::string>    successSopClassUids_;
-    std::list<std::string>    successSopInstanceUids_;
-    std::list<std::string>    failedSopClassUids_;
-    std::list<std::string>    failedSopInstanceUids_;
 
-    void LookupInstance(const std::string& sopClassUid,
-                        const std::string& sopInstanceUid);
     void Answer();
     
   public: