Mercurial > hg > orthanc
comparison OrthancServer/main.cpp @ 1572:904096e7367e
More information about the origin request in OnStoredInstance() callbacks
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 25 Aug 2015 12:10:12 +0200 |
parents | e5e975e9b738 |
children | 3309878b3e16 |
comparison
equal
deleted
inserted
replaced
1571:3232f1c995a5 | 1572:904096e7367e |
---|---|
73 const std::string& calledAet) | 73 const std::string& calledAet) |
74 { | 74 { |
75 if (dicomFile.size() > 0) | 75 if (dicomFile.size() > 0) |
76 { | 76 { |
77 DicomInstanceToStore toStore; | 77 DicomInstanceToStore toStore; |
78 toStore.SetDicomProtocolOrigin(remoteAet.c_str(), calledAet.c_str()); | |
78 toStore.SetBuffer(dicomFile); | 79 toStore.SetBuffer(dicomFile); |
79 toStore.SetSummary(dicomSummary); | 80 toStore.SetSummary(dicomSummary); |
80 toStore.SetJson(dicomJson); | 81 toStore.SetJson(dicomJson); |
81 toStore.SetRemoteAet(remoteAet); | |
82 toStore.SetCalledAet(calledAet); | |
83 | 82 |
84 std::string id; | 83 std::string id; |
85 server_.Store(id, toStore); | 84 server_.Store(id, toStore); |
86 } | 85 } |
87 } | 86 } |