libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
isimud::ISIMUD_VER_NAMESPACE::exchanges::common::message_responses< SrcMsgDetails, DestMsgDetails, Derived, FlowMsgTypes > Class Template Reference

A simple, MIT-protocol exchange simulator. More...

#include <processing_rules.hpp>

Inheritance diagram for isimud::ISIMUD_VER_NAMESPACE::exchanges::common::message_responses< SrcMsgDetails, DestMsgDetails, Derived, FlowMsgTypes >:
[legend]

Classes

struct  convert_then_send
 Construct the specified output message-type from the input message and send it to the client socket. More...
 
class  convert_then_send_ref_data
 Construct the specified output message-type from the input message plus reference data and send it to the client socket. More...
 
class  convert_then_send_seq_num
 Construct the specified output message-type from the input message plus reference data and send it to the client socket. More...
 
struct  just_send_to_exchg
 Just default-construct the specified message-type and send it to the exchange socket. More...
 
class  match_all_response
 
struct  send_reject
 

Public Types

using src_msg_details_t = SrcMsgDetails
 A type containing the details of the messages that will be received from the client. More...
 
using dest_msg_details_t = DestMsgDetails
 A type containing the details of the messages that will be sent to the exchange. More...
 
using derived_t = Derived
 
using flow_msg_types = FlowMsgTypes
 

Detailed Description

template<class SrcMsgDetails, class DestMsgDetails, class Derived, class FlowMsgTypes>
class isimud::ISIMUD_VER_NAMESPACE::exchanges::common::message_responses< SrcMsgDetails, DestMsgDetails, Derived, FlowMsgTypes >

A simple, MIT-protocol exchange simulator.

The behaviour of this simulator is a simplification derived from the specification in [1]. [1] "MIT203 - MILLENNIUM EXCHANGE Native Trading Gateway"

Definition at line 35 of file processing_rules.hpp.

Member Typedef Documentation

◆ derived_t

template<class SrcMsgDetails , class DestMsgDetails , class Derived , class FlowMsgTypes >
using isimud::ISIMUD_VER_NAMESPACE::exchanges::common::message_responses< SrcMsgDetails, DestMsgDetails, Derived, FlowMsgTypes >::derived_t = Derived

Definition at line 41 of file processing_rules.hpp.

◆ dest_msg_details_t

template<class SrcMsgDetails , class DestMsgDetails , class Derived , class FlowMsgTypes >
using isimud::ISIMUD_VER_NAMESPACE::exchanges::common::message_responses< SrcMsgDetails, DestMsgDetails, Derived, FlowMsgTypes >::dest_msg_details_t = DestMsgDetails

A type containing the details of the messages that will be sent to the exchange.

Definition at line 40 of file processing_rules.hpp.

◆ flow_msg_types

template<class SrcMsgDetails , class DestMsgDetails , class Derived , class FlowMsgTypes >
using isimud::ISIMUD_VER_NAMESPACE::exchanges::common::message_responses< SrcMsgDetails, DestMsgDetails, Derived, FlowMsgTypes >::flow_msg_types = FlowMsgTypes

Definition at line 42 of file processing_rules.hpp.

◆ src_msg_details_t

template<class SrcMsgDetails , class DestMsgDetails , class Derived , class FlowMsgTypes >
using isimud::ISIMUD_VER_NAMESPACE::exchanges::common::message_responses< SrcMsgDetails, DestMsgDetails, Derived, FlowMsgTypes >::src_msg_details_t = SrcMsgDetails

A type containing the details of the messages that will be received from the client.

Definition at line 38 of file processing_rules.hpp.


The documentation for this class was generated from the following file: