libjmmcg
build_2783
A C++ library containing an eclectic mix of useful, advanced components.
|
A simple, MIT-protocol exchange simulator. More...
#include <processing_rules.hpp>
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... | |
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 |
using | socket_t = SktT |
Protected Member Functions | |
virtual bool | process_msg (typename src_msg_details_t::msg_buffer_t const &buff, socket_t &exchg_skt, socket_t &client_skt)=0 |
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 87 of file processing_rules.hpp.
using isimud::exchanges::common::message_responses< SrcMsgDetails, DestMsgDetails, Derived, FlowMsgTypes, SktT >::derived_t = Derived |
Definition at line 110 of file processing_rules.hpp.
using isimud::exchanges::common::message_responses< SrcMsgDetails, DestMsgDetails, Derived, FlowMsgTypes, SktT >::dest_msg_details_t = DestMsgDetails |
A type containing the details of the messages that will be sent to the exchange.
Definition at line 109 of file processing_rules.hpp.
using isimud::exchanges::common::message_responses< SrcMsgDetails, DestMsgDetails, Derived, FlowMsgTypes, SktT >::flow_msg_types = FlowMsgTypes |
Definition at line 111 of file processing_rules.hpp.
using isimud::exchanges::common::message_responses< SrcMsgDetails, DestMsgDetails, Derived, FlowMsgTypes, SktT >::socket_t = SktT |
Definition at line 112 of file processing_rules.hpp.
using isimud::exchanges::common::message_responses< SrcMsgDetails, DestMsgDetails, Derived, FlowMsgTypes, SktT >::src_msg_details_t = SrcMsgDetails |
A type containing the details of the messages that will be received from the client.
Definition at line 107 of file processing_rules.hpp.
|
protectedpure virtual |
Implemented in isimud::exchanges::common::simulator_responses< SrcMsgDetails, simulator_responses< SrcMsgDetails, SktT >, SktT >.