comparison OrthancServer/Sources/ServerContext.h @ 4988:8fba26292a9f

Housekeeper plugin: finalizing + integration tests ok
author Alain Mazy <am@osimis.io>
date Sat, 30 Apr 2022 19:39:40 +0200
parents 2cfa50d8eb60
children 22966345eaba
comparison
equal deleted inserted replaced
4986:a25e74fad379 4988:8fba26292a9f
259 bool isUnknownSopClassAccepted_; 259 bool isUnknownSopClassAccepted_;
260 std::set<DicomTransferSyntax> acceptedTransferSyntaxes_; 260 std::set<DicomTransferSyntax> acceptedTransferSyntaxes_;
261 261
262 StoreResult StoreAfterTranscoding(std::string& resultPublicId, 262 StoreResult StoreAfterTranscoding(std::string& resultPublicId,
263 DicomInstanceToStore& dicom, 263 DicomInstanceToStore& dicom,
264 StoreInstanceMode mode); 264 StoreInstanceMode mode,
265 bool isReconstruct);
265 266
266 void PublishDicomCacheMetrics(); 267 void PublishDicomCacheMetrics();
267 268
268 // This method must only be called from "ServerIndex"! 269 // This method must only be called from "ServerIndex"!
269 void RemoveFile(const std::string& fileUuid, 270 void RemoveFile(const std::string& fileUuid,
333 334
334 StoreResult Store(std::string& resultPublicId, 335 StoreResult Store(std::string& resultPublicId,
335 DicomInstanceToStore& dicom, 336 DicomInstanceToStore& dicom,
336 StoreInstanceMode mode); 337 StoreInstanceMode mode);
337 338
339 StoreResult TranscodeAndStore(std::string& resultPublicId,
340 DicomInstanceToStore* dicom,
341 StoreInstanceMode mode,
342 bool isReconstruct = false);
343
338 void AnswerAttachment(RestApiOutput& output, 344 void AnswerAttachment(RestApiOutput& output,
339 const std::string& resourceId, 345 const std::string& resourceId,
340 FileContentType content); 346 FileContentType content);
341 347
342 void ChangeAttachmentCompression(const std::string& resourceId, 348 void ChangeAttachmentCompression(const std::string& resourceId,