CYCLUS
|
The TradeExecutor is an object whose task is to execute a collection of Trades.
Trade Execution takes nominally three steps: #. Grouping all trades by supplier (sender) #. Collecting responses for the group of trades from each supplier #. Grouping all responses by requester (receiver) #. Sending all grouped responses to their respective requester
Definition at line 47 of file trade_executor.h.
#include <trade_executor.h>
Public Member Functions | |
void | ExecuteTrades () |
void | ExecuteTrades (Context *ctx) |
void | RecordTrades (Context *ctx) |
TradeExecutionContext< T > & | trade_ctx () |
const TradeExecutionContext< T > & | trade_ctx () const |
TradeExecutor (const std::vector< Trade< T > > &trades) | |
|
inlineexplicit |
Definition at line 49 of file trade_executor.h.
|
inline |
execute all trades, collecting responders from bidders and sending responses to requesters
Definition at line 57 of file trade_executor.h.
execute all trades, collecting responders from bidders and sending responses to requesters
Definition at line 64 of file trade_executor.h.
Record all trades with the appropriate backends.
ctx | the Context through which communication with backends will occur |
Definition at line 77 of file trade_executor.h.
|
inline |
Definition at line 109 of file trade_executor.h.
|
inline |
Definition at line 106 of file trade_executor.h.