Mercurial > hg > orthanc
comparison Core/DicomNetworking/Internals/CommandDispatcher.h @ 3786:3801435e34a1 SylvainRouquette/fix-issue169-95b752c
integration Orthanc-1.6.0->SylvainRouquette
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 19 Mar 2020 11:48:30 +0100 |
parents | f6a73611ec5c |
children |
comparison
equal
deleted
inserted
replaced
3785:763533d6dd67 | 3786:3801435e34a1 |
---|---|
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-2019 Osimis S.A., Belgium | 5 * Copyright (C) 2017-2020 Osimis S.A., Belgium |
6 * | 6 * |
7 * This program is free software: you can redistribute it and/or | 7 * This program is free software: you can redistribute it and/or |
8 * modify it under the terms of the GNU General Public License as | 8 * modify it under the terms of the GNU General Public License as |
9 * published by the Free Software Foundation, either version 3 of the | 9 * published by the Free Software Foundation, either version 3 of the |
10 * License, or (at your option) any later version. | 10 * License, or (at your option) any later version. |
54 std::string remoteIp_; | 54 std::string remoteIp_; |
55 std::string remoteAet_; | 55 std::string remoteAet_; |
56 std::string calledAet_; | 56 std::string calledAet_; |
57 IApplicationEntityFilter* filter_; | 57 IApplicationEntityFilter* filter_; |
58 | 58 |
59 OFCondition NActionScp(T_DIMSE_Message* msg, | |
60 T_ASC_PresentationContextID presID); | |
61 | |
62 OFCondition NEventReportScp(T_DIMSE_Message* msg, | |
63 T_ASC_PresentationContextID presID); | |
64 | |
59 public: | 65 public: |
60 CommandDispatcher(const DicomServer& server, | 66 CommandDispatcher(const DicomServer& server, |
61 T_ASC_Association* assoc, | 67 T_ASC_Association* assoc, |
62 const std::string& remoteIp, | 68 const std::string& remoteIp, |
63 const std::string& remoteAet, | 69 const std::string& remoteAet, |
67 virtual ~CommandDispatcher(); | 73 virtual ~CommandDispatcher(); |
68 | 74 |
69 virtual bool Step(); | 75 virtual bool Step(); |
70 }; | 76 }; |
71 | 77 |
72 OFCondition EchoScp(T_ASC_Association * assoc, | |
73 T_DIMSE_Message * msg, | |
74 T_ASC_PresentationContextID presID); | |
75 | |
76 CommandDispatcher* AcceptAssociation(const DicomServer& server, | 78 CommandDispatcher* AcceptAssociation(const DicomServer& server, |
77 T_ASC_Network *net); | 79 T_ASC_Network *net); |
80 | |
81 OFCondition EchoScp(T_ASC_Association* assoc, | |
82 T_DIMSE_Message* msg, | |
83 T_ASC_PresentationContextID presID); | |
78 } | 84 } |
79 } | 85 } |