30 lines
700 B
C++
30 lines
700 B
C++
#pragma once
|
|
#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 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
|