comparison OrthancServer/OrthancRestApi/OrthancRestModalities.cpp @ 1907:5011a597b6ce

Support of Move Originator Message ID (0000,1031) in C-Store responses driven by C-Move
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 07 Jan 2016 11:28:19 +0100
parents b1291df2f780
children f9f2aa1cc594
comparison
equal deleted inserted replaced
1906:d7c1cb559431 1907:5011a597b6ce
693 693
694 ServerJob job; 694 ServerJob job;
695 for (std::list<std::string>::const_iterator 695 for (std::list<std::string>::const_iterator
696 it = instances.begin(); it != instances.end(); ++it) 696 it = instances.begin(); it != instances.end(); ++it)
697 { 697 {
698 job.AddCommand(new StoreScuCommand(context, localAet, p, false)).AddInput(*it); 698 job.AddCommand(new StoreScuCommand(context, localAet, p, false,
699 0 /* not a C-MOVE */)).AddInput(*it);
699 } 700 }
700 701
701 job.SetDescription("HTTP request: Store-SCU to peer \"" + remote + "\""); 702 job.SetDescription("HTTP request: Store-SCU to peer \"" + remote + "\"");
702 703
703 if (context.GetScheduler().SubmitAndWait(job)) 704 if (context.GetScheduler().SubmitAndWait(job))