Files
spark/src/lib/md/MBOServiceServer.h
T

37 lines
762 B
C++

#pragma once
#ifndef _WIN32
#include "lib/api/public/ServiceContext.h"
#include "lib/api/services/MBOService.server.pb.h"
#include <memory>
#include <optional>
namespace bts {
namespace utils {
class Dispatcher;
}
namespace api {
namespace orderman {
class OrderService;
}
} // namespace api
namespace md {
class MDClient;
struct MBOServiceImpl;
class MBOServiceServer : public MBOServiceBase {
std::unique_ptr<MBOServiceImpl> _me;
public:
MBOServiceServer(
api::ServiceContext &ctx, utils::Dispatcher &, md::MDClient &);
~MBOServiceServer();
void get_orders_for_security(
const MBOSecurityQuery &, const api::Response<PositionData> &) override;
};
} // namespace md
} // namespace bts
#endif