diff OrthancFramework/Sources/DicomNetworking/IStoreRequestHandler.h @ 4791:656784ac6759 proto-filter-instance-returning-error-code

wip: returning OutOfResources when an instance is filtered out by ReceivedInstanceFilter. Ideally, we should implement a ReceivedInstanceFilter2 that would return the C-Store error code
author Alain Mazy <am@osimis.io>
date Wed, 29 Sep 2021 10:32:23 +0200
parents e3e759cbd19c
children 3ab57510f6dd
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomNetworking/IStoreRequestHandler.h	Tue Sep 14 14:51:12 2021 +0200
+++ b/OrthancFramework/Sources/DicomNetworking/IStoreRequestHandler.h	Wed Sep 29 10:32:23 2021 +0200
@@ -39,7 +39,7 @@
     {
     }
 
-    virtual void Handle(DcmDataset& dicom,
+    virtual int  Handle(DcmDataset& dicom,
                         const std::string& remoteIp,
                         const std::string& remoteAet,
                         const std::string& calledAet) = 0;