Mercurial > hg > orthanc
comparison OrthancServer/ServerJobs/DicomMoveScuJob.h @ 3713:56f2397f027a storage-commitment
integration mainline->storage-commitment
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 02 Mar 2020 15:42:17 +0100 |
parents | 2a170a8f1faf |
children | 138d0dde41b5 |
comparison
equal
deleted
inserted
replaced
3711:14b363d972a8 | 3713:56f2397f027a |
---|---|
31 **/ | 31 **/ |
32 | 32 |
33 | 33 |
34 #pragma once | 34 #pragma once |
35 | 35 |
36 #include "../../Core/Compatibility.h" | |
36 #include "../../Core/JobsEngine/SetOfCommandsJob.h" | 37 #include "../../Core/JobsEngine/SetOfCommandsJob.h" |
37 #include "../../Core/DicomNetworking/DicomUserConnection.h" | 38 #include "../../Core/DicomNetworking/DicomUserConnection.h" |
38 | 39 |
39 #include "../QueryRetrieveHandler.h" | 40 #include "../QueryRetrieveHandler.h" |
40 | 41 |
46 { | 47 { |
47 private: | 48 private: |
48 class Command; | 49 class Command; |
49 class Unserializer; | 50 class Unserializer; |
50 | 51 |
51 ServerContext& context_; | 52 ServerContext& context_; |
52 std::string localAet_; | 53 std::string localAet_; |
53 std::string targetAet_; | 54 std::string targetAet_; |
54 RemoteModalityParameters remote_; | 55 RemoteModalityParameters remote_; |
55 std::auto_ptr<DicomUserConnection> connection_; | 56 std::unique_ptr<DicomUserConnection> connection_; |
56 Json::Value query_; | 57 Json::Value query_; |
57 | 58 |
58 void Retrieve(const DicomMap& findAnswer); | 59 void Retrieve(const DicomMap& findAnswer); |
59 | 60 |
60 public: | 61 public: |
61 DicomMoveScuJob(ServerContext& context) : | 62 DicomMoveScuJob(ServerContext& context) : |