Mercurial > hg > orthanc
comparison OrthancServer/QueryRetrieveHandler.h @ 2843:4ee3a759afea
Fix: Closing DICOM associations after running query/retrieve from REST API
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 27 Sep 2018 13:22:57 +0200 |
parents | 5e2730c8e23c |
children | 251614c2edac |
comparison
equal
deleted
inserted
replaced
2842:ff0ed5ea9e4e | 2843:4ee3a759afea |
---|---|
47 ResourceType level_; | 47 ResourceType level_; |
48 DicomMap query_; | 48 DicomMap query_; |
49 DicomFindAnswers answers_; | 49 DicomFindAnswers answers_; |
50 std::string modalityName_; | 50 std::string modalityName_; |
51 | 51 |
52 std::auto_ptr<DicomUserConnection> connection_; | |
53 | |
54 void Invalidate(); | 52 void Invalidate(); |
55 | 53 |
56 DicomUserConnection& GetConnection(); | 54 void RetrieveInternal(DicomUserConnection& connection, |
55 const std::string& target, | |
56 size_t i); | |
57 | 57 |
58 public: | 58 public: |
59 QueryRetrieveHandler(ServerContext& context); | 59 QueryRetrieveHandler(ServerContext& context); |
60 | 60 |
61 void SetModality(const std::string& symbolicName); | 61 void SetModality(const std::string& symbolicName); |