Use SecurityOracle in AsyncFactory,ServiceBridge,OrderServicesData
This commit is contained in:
1 parent
48849fc631
commit
4264928cc2
13 files changed
+36
-62
No files matched your search
@@ -146,7 +146,7 @@ OrderServiceServer::OrderServiceServer(
|
||||
bts_assert_msg(thread,
|
||||
"Could not find a configured thread for OrderManager. See "
|
||||
"the OrdermanCfg key");
|
||||
thread->executor.spawn<OrderManager>(d,me->log);
|
||||
thread->executor.spawn<OrderManager>(d,me->log, mdc.oracle());
|
||||
|
||||
// Timer
|
||||
thread = find_thread_for_actor("Timer", me->actor_threads);
|
||||
@@ -160,7 +160,7 @@ OrderServiceServer::OrderServiceServer(
|
||||
bts_assert_msg(thread,
|
||||
"Could not find a configured thread for AsyncFactory. See "
|
||||
"the OrdermanCfg key");
|
||||
thread->executor.spawn<AsyncFactory>(d);
|
||||
thread->executor.spawn<AsyncFactory>(d, mdc.oracle());
|
||||
|
||||
// OrderStore
|
||||
thread = find_thread_for_actor("OrderStore", me->actor_threads);
|
||||
@@ -206,7 +206,7 @@ OrderServiceServer::OrderServiceServer(
|
||||
[this, &ctx](auto const &fill) {
|
||||
ctx.post([this, fill] { this->on_fills(fill); });
|
||||
},
|
||||
me->dyn_order_registry, thread->executor.make_proxy());
|
||||
me->dyn_order_registry, thread->executor.make_proxy(),mdc.oracle());
|
||||
|
||||
thread->executor.activate(me->service_bridge);
|
||||
|
||||
|
||||
Reference in new issue
Block a user