Mercurial > hg > orthanc-stone
comparison Platforms/Generic/OracleDelayedCallExecutor.h @ 1222:21c2b0eee53c broker
deprecating MessageHandler
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 07 Dec 2019 18:18:07 +0100 |
parents | b537002f83a9 |
children | 68579a31eeb4 |
comparison
equal
deleted
inserted
replaced
1218:6f3f1ef347a3 | 1222:21c2b0eee53c |
---|---|
41 oracle_(oracle), | 41 oracle_(oracle), |
42 context_(context) | 42 context_(context) |
43 { | 43 { |
44 } | 44 } |
45 | 45 |
46 virtual void Schedule(OrthancStone::MessageHandler<IDelayedCallExecutor::TimeoutMessage>* callback, | 46 virtual void Schedule(MessageHandler<IDelayedCallExecutor::TimeoutMessage>* callback, |
47 unsigned int timeoutInMs = 1000) | 47 unsigned int timeoutInMs = 1000) |
48 { | 48 { |
49 oracle_.Submit(new DelayedCallCommand(callback, timeoutInMs, NULL, context_)); | 49 oracle_.Submit(new DelayedCallCommand(callback, timeoutInMs, NULL, context_)); |
50 } | 50 } |
51 }; | 51 }; |