comparison 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
comparison
equal deleted inserted replaced
2221:e7beca979562 2222:21713ce8717b
133 133
134 bool Echo(); 134 bool Echo();
135 135
136 void Store(const char* buffer, 136 void Store(const char* buffer,
137 size_t size, 137 size_t size,
138 const std::string& moveOriginatorAET,
138 uint16_t moveOriginatorID); 139 uint16_t moveOriginatorID);
139 140
141 void Store(const char* buffer,
142 size_t size)
143 {
144 Store(buffer, size, "", 0); // Not a C-Move
145 }
146
140 void Store(const std::string& buffer, 147 void Store(const std::string& buffer,
148 const std::string& moveOriginatorAET,
141 uint16_t moveOriginatorID); 149 uint16_t moveOriginatorID);
142 150
151 void Store(const std::string& buffer)
152 {
153 Store(buffer, "", 0); // Not a C-Move
154 }
155
143 void StoreFile(const std::string& path, 156 void StoreFile(const std::string& path,
157 const std::string& moveOriginatorAET,
144 uint16_t moveOriginatorID); 158 uint16_t moveOriginatorID);
159
160 void StoreFile(const std::string& path)
161 {
162 StoreFile(path, "", 0); // Not a C-Move
163 }
145 164
146 void Find(DicomFindAnswers& result, 165 void Find(DicomFindAnswers& result,
147 ResourceType level, 166 ResourceType level,
148 const DicomMap& fields); 167 const DicomMap& fields);
149 168