Finished prod merge.
This commit is contained in:
1 parent
be33ecc798
commit
faa6528400
4 files changed
+16
-7
No files matched your search
@@ -12,6 +12,7 @@
|
||||
#include "lib/orderman/actors/ExecutionGateway.h"
|
||||
#include "lib/orderman/actors/FillStore.h"
|
||||
#include "lib/orderman/actors/MDSource.h"
|
||||
#include "lib/orderman/actors/MDSupplementarySource.h"
|
||||
#include "lib/orderman/actors/OrderStore.h"
|
||||
#include "lib/orderman/actors/SecuritySrc.h"
|
||||
#include "lib/orderman/actors/ServiceBridge.h"
|
||||
@@ -90,8 +91,7 @@ struct OrderServiceServer::PImpl {
|
||||
: service_bridge(), service_ready(false), known_orders(), known_fills(),
|
||||
publish_orders(), publish_fills(),
|
||||
admin_service(ctx.locate<api::admin::AdminService>()), md_consumer(ss),
|
||||
stats(stats)
|
||||
{}
|
||||
stats(stats) {}
|
||||
|
||||
ServiceBridge *service_bridge;
|
||||
|
||||
@@ -111,9 +111,8 @@ struct OrderServiceServer::PImpl {
|
||||
OrderServiceServer::OrderServiceServer(
|
||||
bts::api::ServiceContext &ctx,
|
||||
std::shared_ptr<api::ISyntheticSecurityService> &ss,
|
||||
metrics::MetricsContainer &stats,
|
||||
PerfTraceLog &log)
|
||||
: api::orderman::OrderServiceBase(ctx), me(new PImpl(ctx, ss, stats)) {
|
||||
metrics::MetricsContainer &stats, PerfTraceLog &log)
|
||||
: api::orderman::OrderServiceBase(ctx), me(new PImpl(ctx, ss, stats)) {
|
||||
|
||||
me->publish_orders = make_orders_publisher();
|
||||
me->publish_fills = make_fills_publisher();
|
||||
@@ -186,6 +185,14 @@ OrderServiceServer::OrderServiceServer(
|
||||
"the OrdermanCfg key");
|
||||
thread->executor.spawn<SecuritySrc>(me->md_consumer);
|
||||
|
||||
// MDSupplementarySource
|
||||
thread = find_thread_for_actor("MDSupplementarySource", me->actor_threads);
|
||||
bts_assert_msg(
|
||||
thread,
|
||||
"Could not find a configured thread for MDSupplementarySource. See "
|
||||
"the OrdermanCfg key");
|
||||
thread->executor.spawn<MDSupplementarySource>(me->md_consumer);
|
||||
|
||||
// ServiceBridge
|
||||
thread = find_thread_for_actor("ServiceBridge", me->actor_threads);
|
||||
bts_assert_msg(thread,
|
||||
|
||||
Reference in new issue
Block a user