Mercurial > hg > orthanc
comparison OrthancServer/Sources/ServerJobs/DicomMoveScuJob.h @ 5025:afa427f65444
Added an Asynchronous mode to /modalities/../move
author | Alain Mazy <am@osimis.io> |
---|---|
date | Tue, 21 Jun 2022 10:55:45 +0200 |
parents | 6eff25f70121 |
children | 0ea402b4d901 |
comparison
equal
deleted
inserted
replaced
5021:559b35d18ef7 | 5025:afa427f65444 |
---|---|
49 void Retrieve(const DicomMap& findAnswer); | 49 void Retrieve(const DicomMap& findAnswer); |
50 | 50 |
51 public: | 51 public: |
52 explicit DicomMoveScuJob(ServerContext& context) : | 52 explicit DicomMoveScuJob(ServerContext& context) : |
53 context_(context), | 53 context_(context), |
54 query_(true /* this is for worklists */), | 54 query_(false /* this is not for worklists */), |
55 queryFormat_(DicomToJsonFormat_Short) | 55 queryFormat_(DicomToJsonFormat_Short) |
56 { | 56 { |
57 } | 57 } |
58 | 58 |
59 DicomMoveScuJob(ServerContext& context, | 59 DicomMoveScuJob(ServerContext& context, |
60 const Json::Value& serialized); | 60 const Json::Value& serialized); |
61 | 61 |
62 void AddFindAnswer(const DicomMap& answer); | 62 void AddFindAnswer(const DicomMap& answer); |
63 | 63 |
64 void AddQuery(const DicomMap& query); | |
65 | |
64 void AddFindAnswer(QueryRetrieveHandler& query, | 66 void AddFindAnswer(QueryRetrieveHandler& query, |
65 size_t i); | 67 size_t i); |
66 | 68 |
67 const DicomAssociationParameters& GetParameters() const | 69 const DicomAssociationParameters& GetParameters() const |
68 { | 70 { |