Mercurial > hg > orthanc
diff OrthancServer/DicomProtocol/DicomUserConnection.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 | fabf7820d1f1 |
children | a3a65de1840f |
line wrap: on
line diff
--- a/OrthancServer/DicomProtocol/DicomUserConnection.h Tue Dec 13 12:13:12 2016 +0100 +++ b/OrthancServer/DicomProtocol/DicomUserConnection.h Tue Dec 13 14:34:33 2016 +0100 @@ -135,14 +135,33 @@ void Store(const char* buffer, size_t size, + const std::string& moveOriginatorAET, uint16_t moveOriginatorID); + void Store(const char* buffer, + size_t size) + { + Store(buffer, size, "", 0); // Not a C-Move + } + void Store(const std::string& buffer, + const std::string& moveOriginatorAET, uint16_t moveOriginatorID); + void Store(const std::string& buffer) + { + Store(buffer, "", 0); // Not a C-Move + } + void StoreFile(const std::string& path, + const std::string& moveOriginatorAET, uint16_t moveOriginatorID); + void StoreFile(const std::string& path) + { + StoreFile(path, "", 0); // Not a C-Move + } + void Find(DicomFindAnswers& result, ResourceType level, const DicomMap& fields);