comparison Platforms/Generic/DelayedCallCommand.cpp @ 1222:21c2b0eee53c broker

deprecating MessageHandler
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 07 Dec 2019 18:18:07 +0100
parents e713f1a99861
children 68579a31eeb4
comparison
equal deleted inserted replaced
1218:6f3f1ef347a3 1222:21c2b0eee53c
24 24
25 #include <iostream> 25 #include <iostream>
26 26
27 namespace Deprecated 27 namespace Deprecated
28 { 28 {
29 DelayedCallCommand::DelayedCallCommand(OrthancStone::MessageHandler<IDelayedCallExecutor::TimeoutMessage>* callback, // takes ownership 29 DelayedCallCommand::DelayedCallCommand(MessageHandler<IDelayedCallExecutor::TimeoutMessage>* callback, // takes ownership
30 unsigned int timeoutInMs, 30 unsigned int timeoutInMs,
31 Orthanc::IDynamicObject* payload /* takes ownership */, 31 Orthanc::IDynamicObject* payload /* takes ownership */,
32 OrthancStone::NativeStoneApplicationContext& context 32 OrthancStone::NativeStoneApplicationContext& context
33 ) : 33 ) :
34 callback_(callback), 34 callback_(callback),