Mercurial > hg > orthanc
diff OrthancServer/Scheduler/StoreScuCommand.h @ 2222:21713ce8717b
Fix handling of Move Originator AET and ID in C-MOVE SCP
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 13 Dec 2016 14:34:33 +0100 |
parents | f9f2aa1cc594 |
children | a3a65de1840f |
line wrap: on
line diff
--- a/OrthancServer/Scheduler/StoreScuCommand.h Tue Dec 13 12:13:12 2016 +0100 +++ b/OrthancServer/Scheduler/StoreScuCommand.h Tue Dec 13 14:34:33 2016 +0100 @@ -44,15 +44,17 @@ RemoteModalityParameters modality_; bool ignoreExceptions_; std::string localAet_; + std::string moveOriginatorAET_; uint16_t moveOriginatorID_; public: StoreScuCommand(ServerContext& context, const std::string& localAet, const RemoteModalityParameters& modality, - bool ignoreExceptions, - uint16_t moveOriginatorID /* only makes sense if this - command results from a C-MOVE */); + bool ignoreExceptions); + + void SetMoveOriginator(const std::string& aet, + uint16_t id); virtual bool Apply(ListOfStrings& outputs, const ListOfStrings& inputs);