|
BCNP 3.2.1
Batched Command Network Protocol
|
#include "bcnp/stream_parser.h"#include "bcnp/message_queue.h"#include <bcnp/message_types.h>#include <chrono>#include <cstdint>#include <functional>#include <mutex>#include <unordered_map>Go to the source code of this file.
Classes | |
| struct | bcnp::DispatcherConfig |
| Configuration for the packet dispatcher. More... | |
| class | bcnp::PacketDispatcher |
| Parses BCNP stream and dispatches packets to registered handlers. More... | |
Namespaces | |
| namespace | bcnp |
Typedefs | |
| using | bcnp::PacketHandler = std::function<void(const PacketView&)> |
| Callback for handling message packets. | |
| using | bcnp::ErrorHandler = std::function<void(const StreamParser::ErrorInfo&)> |
| Error callback for parse errors. | |
| using | bcnp::MessageHandler = PacketHandler |