libjmmcg  build_2783
A C++ library containing an eclectic mix of useful, advanced components.
isimud::exchanges::MIT::LSE::MsgTypes Struct Reference

#include <messages.hpp>

Public Types

enum  : std::size_t {
  min_size_client_to_exchange_msg, max_size_client_to_exchange_msg, min_size_exchange_to_client_msg, max_size_exchange_to_client_msg,
  min_msg_size =jmmcg::min<std::size_t, min_size_client_to_exchange_msg, min_size_exchange_to_client_msg>::value, max_msg_size =jmmcg::max<std::size_t, max_size_client_to_exchange_msg, max_size_exchange_to_client_msg>::value, header_t_size =sizeof(typename LogonRequest::Header_t)
}
 
using ref_data = common::ref_data
 
using ref_data_t = common::ref_data_t
 
using MsgTypes_t = common::MsgType_t
 
using UserName_t = common::UserName_t
 
using Password_t = common::Password_t
 
using SecurityID_t = common::SecurityID_t
 
using Price_t = common::Price_t
 
using ClientOrderID_t = common::ClientOrderID_t
 
using OrderType = common::OrderType
 
using Side = common::Side
 
using ExecType = common::ExecType
 
using AppID = common::AppID
 
using OrderStatus = common::OrderStatus
 
using logon_args_t = common::logon_args_t
 
using Header_t = common::Header
 
using NewOrder = LSE::NewOrder
 
using OrderCancelRequest = LSE::OrderCancelRequest
 
typedef common::OrderMassCancelRequest< OrderMassCancelRequestSpecific1OrderMassCancelRequest
 
using OrderCancelReplaceRequest = LSE::OrderCancelReplaceRequest
 
typedef common::NewQuote< NewQuoteSpecific1, NewQuoteSpecific2NewQuote
 
typedef common::LogonRequest LogonRequest
 
typedef common::LogoutRequest LogoutRequest
 
using ClientHeartbeat = common::Heartbeat
 
using ServerHeartbeat = common::Heartbeat
 
typedef common::MissedMessageRequest MissedMessageRequest
 
typedef common::ExecutionReport< ExecutionReportSpecific1, ExecutionReportSpecific2ExecutionReport
 
using OrderCancelReject = common::OrderCancelReject< common::OrderCancelRejectSpecific< mit_lse::reject_codes_enum > >
 
using OrderMassCancelReport = common::OrderMassCancelReport< common::OrderMassCancelReportSpecific< mit_lse::reject_codes_enum > >
 
using BusinessReject = common::BusinessReject< common::BusinessRejectSpecific< mit_lse::reject_codes_enum, mit_lse::reject_codes_enum::MatchingEngine_Unknown_instrument_9000 > >
 
using LogonReply = LSE::LogonReply
 
typedef common::MissedMessageRequestAck MissedMessageRequestAck
 
typedef common::MissedMessageReport MissedMessageReport
 
using Reject = common::Reject< mit_lse::reject_codes_enum, mit_lse::reject_codes_enum::NativeGateway_Message_not_supported_102 >
 
typedef common::SystemStatus SystemStatus
 
using Logout = LogoutRequest
 
using client_to_exchange_messages_t = boost::mpl::vector< NewOrder, OrderCancelRequest, OrderMassCancelRequest, OrderCancelReplaceRequest, NewQuote, LogonRequest, LogoutRequest, ClientHeartbeat, MissedMessageRequest >
 
using exchange_to_client_messages_t = boost::mpl::vector< ExecutionReport, OrderCancelReject, OrderMassCancelReport, BusinessReject, LogonReply, Logout, ServerHeartbeat, MissedMessageRequestAck, MissedMessageReport, Reject, SystemStatus >
 
using msg_buffer_t = std::array< std::uint8_t, max_msg_size >
 
using client_to_exchange_messages_container = boost::make_variant_over< client_to_exchange_messages_t >::type
 
using exchange_to_client_messages_container = boost::make_variant_over< exchange_to_client_messages_t >::type
 

Public Member Functions

 BOOST_MPL_ASSERT_RELATION (max_msg_size, >=, header_t_size)
 

Static Public Member Functions

static std::ostream & to_stream (std::ostream &) noexcept(false)
 

Static Public Attributes

static constexpr const isimud::exchanges::common::mic_codes::ISO_10383_MIC_Codes MIC_code =isimud::exchanges::common::mic_codes::ISO_10383_MIC_Codes::ISO_10383_UNITED_KINGDOM_XLON
 
static constexpr MsgTypes_t MatchAll =std::numeric_limits<MsgTypes_t>::max()-1
 For the meta-state machine to allow a catch-all rule to reject anything unhandled. More...
 
static constexpr MsgTypes_t Exit =std::numeric_limits<MsgTypes_t>::max()
 For the meta-state machine: the exit state to exit the msm. More...
 
static constexpr Price_t implied_decimal_places =common::implied_decimal_places
 

Detailed Description

Definition at line 315 of file messages.hpp.

Member Typedef Documentation

◆ AppID

◆ BusinessReject

using isimud::exchanges::MIT::LSE::MsgTypes::BusinessReject = common::BusinessReject<common::BusinessRejectSpecific<mit_lse::reject_codes_enum, mit_lse::reject_codes_enum::MatchingEngine_Unknown_instrument_9000> >

Definition at line 349 of file messages.hpp.

◆ client_to_exchange_messages_container

◆ client_to_exchange_messages_t

◆ ClientHeartbeat

◆ ClientOrderID_t

◆ exchange_to_client_messages_container

◆ exchange_to_client_messages_t

◆ ExecType

◆ ExecutionReport

◆ Header_t

◆ logon_args_t

◆ LogonReply

◆ LogonRequest

◆ Logout

◆ LogoutRequest

◆ MissedMessageReport

◆ MissedMessageRequest

◆ MissedMessageRequestAck

◆ msg_buffer_t

Definition at line 422 of file messages.hpp.

◆ MsgTypes_t

◆ NewOrder

◆ NewQuote

◆ OrderCancelReject

◆ OrderCancelReplaceRequest

◆ OrderCancelRequest

◆ OrderMassCancelReport

◆ OrderMassCancelRequest

◆ OrderStatus

◆ OrderType

◆ Password_t

◆ Price_t

◆ ref_data

◆ ref_data_t

◆ Reject

using isimud::exchanges::MIT::LSE::MsgTypes::Reject = common::Reject<mit_lse::reject_codes_enum, mit_lse::reject_codes_enum::NativeGateway_Message_not_supported_102>

Definition at line 353 of file messages.hpp.

◆ SecurityID_t

◆ ServerHeartbeat

◆ Side

◆ SystemStatus

◆ UserName_t

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : std::size_t
Enumerator
min_size_client_to_exchange_msg 
max_size_client_to_exchange_msg 
min_size_exchange_to_client_msg 
max_size_exchange_to_client_msg 
min_msg_size 
max_msg_size 
header_t_size 

Definition at line 387 of file messages.hpp.

Member Function Documentation

◆ BOOST_MPL_ASSERT_RELATION()

isimud::exchanges::MIT::LSE::MsgTypes::BOOST_MPL_ASSERT_RELATION ( max_msg_size  ,
>=  ,
header_t_size   
)

◆ to_stream()

std::ostream & isimud::exchanges::MIT::LSE::MsgTypes::to_stream ( std::ostream &  os)
staticnoexcept

Definition at line 93 of file messages.cpp.

Member Data Documentation

◆ Exit

constexpr MsgTypes_t isimud::exchanges::MIT::LSE::MsgTypes::Exit =std::numeric_limits<MsgTypes_t>::max()
inlinestaticconstexpr

For the meta-state machine: the exit state to exit the msm.

Definition at line 359 of file messages.hpp.

◆ implied_decimal_places

constexpr Price_t isimud::exchanges::MIT::LSE::MsgTypes::implied_decimal_places =common::implied_decimal_places
inlinestaticconstexpr

Definition at line 426 of file messages.hpp.

◆ MatchAll

constexpr MsgTypes_t isimud::exchanges::MIT::LSE::MsgTypes::MatchAll =std::numeric_limits<MsgTypes_t>::max()-1
inlinestaticconstexpr

For the meta-state machine to allow a catch-all rule to reject anything unhandled.

Definition at line 358 of file messages.hpp.

◆ MIC_code

constexpr const isimud::exchanges::common::mic_codes::ISO_10383_MIC_Codes isimud::exchanges::MIT::LSE::MsgTypes::MIC_code =isimud::exchanges::common::mic_codes::ISO_10383_MIC_Codes::ISO_10383_UNITED_KINGDOM_XLON
inlinestaticconstexpr

Definition at line 317 of file messages.hpp.


The documentation for this struct was generated from the following files: