| | |
| | | }; |
| | | |
| | | struct AnnounceMessage : public FromExchange { |
| | | std::string stationId; |
| | | int stationId; |
| | | std::string stationName; |
| | | std::string unit; |
| | | std::chrono::nanoseconds expiry; |
| | |
| | | double broFee; |
| | | |
| | | AnnounceMessage(MessageTypes type, std::string product, |
| | | std::string stationId, std::string stationName, |
| | | int stationId, std::string stationName, |
| | | std::string unit, std::chrono::nanoseconds expiry, |
| | | double aggFee, double pasFee, double broFee, |
| | | uint64_t sequence, double timestamp); |
| | |
| | | std::string counterparty, std::string id); |
| | | }; |
| | | |
| | | Message* parseSingle(std::string& str); |
| | | std::queue<Message*> parseMany(std::string& str); |
| | | std::queue<Message*> parse(std::string& str); |
| | | } // namespace json |