|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <stream_parser.hpp>
Public Member Functions | |
| StreamDispatcher (OutputStream &out) | |
| bool | onNewData (msgpack::object &obj) |
| void | registerTarget (uint32_t msgType, std::function< bool(msgpack::object &)> &handler) |
Private Member Functions | |
| void | sendPong (uint32_t pingId) |
| bool | handleSystemMessage (msgpack::object &obj) |
Private Attributes | |
| OutputStream & | outputStream |
| std::unordered_map< uint32_t, std::function< bool(msgpack::object &)> > | messageHandlers |
Definition at line 13 of file stream_parser.hpp.
|
inline |
Definition at line 21 of file stream_parser.hpp.
|
private |
Definition at line 50 of file stream_parser.hpp.
| bool bb::messaging::StreamDispatcher< OutputStream >::onNewData | ( | msgpack::object & | obj | ) |
Definition at line 28 of file stream_parser.hpp.
| void bb::messaging::StreamDispatcher< OutputStream >::registerTarget | ( | uint32_t | msgType, |
| std::function< bool(msgpack::object &)> & | handler | ||
| ) |
Definition at line 45 of file stream_parser.hpp.
|
private |
Definition at line 63 of file stream_parser.hpp.
|
private |
Definition at line 16 of file stream_parser.hpp.
|
private |
Definition at line 15 of file stream_parser.hpp.