Mercurial > hg > orthanc
comparison Plugins/Engine/OrthancPlugins.h @ 3662:d8371b4302ff storage-commitment
OrthancPluginRegisterStorageCommitmentScpCallback()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 11 Feb 2020 19:59:53 +0100 |
parents | 94f4a18a79cc |
children | 56f2397f027a |
comparison
equal
deleted
inserted
replaced
3661:25117919a36b | 3662:d8371b4302ff |
---|---|
60 #include "../../Core/HttpServer/IHttpHandler.h" | 60 #include "../../Core/HttpServer/IHttpHandler.h" |
61 #include "../../Core/HttpServer/IIncomingHttpRequestFilter.h" | 61 #include "../../Core/HttpServer/IIncomingHttpRequestFilter.h" |
62 #include "../../Core/JobsEngine/IJob.h" | 62 #include "../../Core/JobsEngine/IJob.h" |
63 #include "../../OrthancServer/IDicomImageDecoder.h" | 63 #include "../../OrthancServer/IDicomImageDecoder.h" |
64 #include "../../OrthancServer/IServerListener.h" | 64 #include "../../OrthancServer/IServerListener.h" |
65 #include "../../OrthancServer/ServerJobs/IStorageCommitmentFactory.h" | |
65 #include "OrthancPluginDatabase.h" | 66 #include "OrthancPluginDatabase.h" |
66 #include "PluginsManager.h" | 67 #include "PluginsManager.h" |
67 | 68 |
68 #include <list> | 69 #include <list> |
69 #include <boost/shared_ptr.hpp> | 70 #include <boost/shared_ptr.hpp> |
78 public IServerListener, | 79 public IServerListener, |
79 public IWorklistRequestHandlerFactory, | 80 public IWorklistRequestHandlerFactory, |
80 public IDicomImageDecoder, | 81 public IDicomImageDecoder, |
81 public IIncomingHttpRequestFilter, | 82 public IIncomingHttpRequestFilter, |
82 public IFindRequestHandlerFactory, | 83 public IFindRequestHandlerFactory, |
83 public IMoveRequestHandlerFactory | 84 public IMoveRequestHandlerFactory, |
85 public IStorageCommitmentFactory | |
84 { | 86 { |
85 private: | 87 private: |
86 class PImpl; | 88 class PImpl; |
87 boost::shared_ptr<PImpl> pimpl_; | 89 boost::shared_ptr<PImpl> pimpl_; |
88 | 90 |
121 void RegisterIncomingHttpRequestFilter(const void* parameters); | 123 void RegisterIncomingHttpRequestFilter(const void* parameters); |
122 | 124 |
123 void RegisterIncomingHttpRequestFilter2(const void* parameters); | 125 void RegisterIncomingHttpRequestFilter2(const void* parameters); |
124 | 126 |
125 void RegisterRefreshMetricsCallback(const void* parameters); | 127 void RegisterRefreshMetricsCallback(const void* parameters); |
128 | |
129 void RegisterStorageCommitmentScpCallback(const void* parameters); | |
126 | 130 |
127 void AnswerBuffer(const void* parameters); | 131 void AnswerBuffer(const void* parameters); |
128 | 132 |
129 void Redirect(const void* parameters); | 133 void Redirect(const void* parameters); |
130 | 134 |
339 const char* remoteIp, | 343 const char* remoteIp, |
340 const char* username, | 344 const char* username, |
341 HttpMethod method, | 345 HttpMethod method, |
342 const UriComponents& uri, | 346 const UriComponents& uri, |
343 const Arguments& headers); | 347 const Arguments& headers); |
348 | |
349 // New in Orthanc 1.6.0 | |
350 IStorageCommitmentFactory::ILookupHandler* CreateStorageCommitment( | |
351 const std::string& jobId, | |
352 const std::string& transactionUid, | |
353 const std::vector<std::string>& sopClassUids, | |
354 const std::vector<std::string>& sopInstanceUids, | |
355 const std::string& remoteAet, | |
356 const std::string& calledAet) ORTHANC_OVERRIDE; | |
344 }; | 357 }; |
345 } | 358 } |
346 | 359 |
347 #endif | 360 #endif |