Mercurial > hg > orthanc-stone
comparison Framework/Toolbox/OrthancSynchronousWebService.h @ 70:f73aed014bde wasm
OrthancAsynchronousWebService
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 22 May 2017 21:43:49 +0200 |
parents | 1553b67b24e5 |
children | f40a78cc7070 |
comparison
equal
deleted
inserted
replaced
69:1553b67b24e5 | 70:f73aed014bde |
---|---|
25 #include "../../Resources/Orthanc/Plugins/Samples/Common/IOrthancConnection.h" | 25 #include "../../Resources/Orthanc/Plugins/Samples/Common/IOrthancConnection.h" |
26 #include "../../Resources/Orthanc/Core/WebServiceParameters.h" | 26 #include "../../Resources/Orthanc/Core/WebServiceParameters.h" |
27 | 27 |
28 #include <memory> | 28 #include <memory> |
29 | 29 |
30 // TODO REMOVE THIS | |
31 | |
30 namespace OrthancStone | 32 namespace OrthancStone |
31 { | 33 { |
32 class OrthancSynchronousWebService : public IWebService | 34 class OrthancSynchronousWebService : public IWebService |
33 { | 35 { |
34 private: | 36 private: |
50 | 52 |
51 virtual void SchedulePostRequest(ICallback& callback, | 53 virtual void SchedulePostRequest(ICallback& callback, |
52 const std::string& uri, | 54 const std::string& uri, |
53 const std::string& body, | 55 const std::string& body, |
54 Orthanc::IDynamicObject* payload); | 56 Orthanc::IDynamicObject* payload); |
57 | |
58 virtual void Start() | |
59 { | |
60 } | |
61 | |
62 virtual void Stop() | |
63 { | |
64 } | |
55 }; | 65 }; |
56 } | 66 } |