comparison OrthancFramework/Sources/DicomNetworking/IStoreRequestHandler.h @ 4899:3ab57510f6dd proto-filter-instance-returning-error-code

integration mainline->proto-filter-instance-returning-error-code
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sun, 20 Feb 2022 12:59:30 +0100
parents 656784ac6759 43e613a7756b
children
comparison
equal deleted inserted replaced
4791:656784ac6759 4899:3ab57510f6dd
1 /** 1 /**
2 * Orthanc - A Lightweight, RESTful DICOM Store 2 * Orthanc - A Lightweight, RESTful DICOM Store
3 * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics 3 * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics
4 * Department, University Hospital of Liege, Belgium 4 * Department, University Hospital of Liege, Belgium
5 * Copyright (C) 2017-2021 Osimis S.A., Belgium 5 * Copyright (C) 2017-2022 Osimis S.A., Belgium
6 * Copyright (C) 2021-2022 Sebastien Jodogne, ICTEAM UCLouvain, Belgium
6 * 7 *
7 * This program is free software: you can redistribute it and/or 8 * This program is free software: you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public License 9 * modify it under the terms of the GNU Lesser General Public License
9 * as published by the Free Software Foundation, either version 3 of 10 * as published by the Free Software Foundation, either version 3 of
10 * the License, or (at your option) any later version. 11 * the License, or (at your option) any later version.
37 public: 38 public:
38 virtual ~IStoreRequestHandler() 39 virtual ~IStoreRequestHandler()
39 { 40 {
40 } 41 }
41 42
42 virtual int Handle(DcmDataset& dicom, 43 virtual uint16_t Handle(DcmDataset& dicom,
43 const std::string& remoteIp, 44 const std::string& remoteIp,
44 const std::string& remoteAet, 45 const std::string& remoteAet,
45 const std::string& calledAet) = 0; 46 const std::string& calledAet) = 0;
46 }; 47 };
47 } 48 }