![]() |
IRSOL
C++ code implementing socket server for interacting with Baumer camera.
|
Message routing layer between protocol and application logic. More...
#include "irsol/macros.hpp"#include "irsol/protocol.hpp"#include "irsol/traits.hpp"#include "irsol/types.hpp"#include <string>#include <unordered_map>#include <utility>Go to the source code of this file.
Classes | |
| class | irsol::server::handlers::MessageHandler |
| Binds incoming protocol messages to the appropriate per-client logic. More... | |
Namespaces | |
| namespace | irsol |
| namespace | irsol::server |
| Core server features. TOBE DEFINED FURTHER. | |
| namespace | irsol::server::handlers |
| Contains all logic for dispatching and implementing protocol message handlers. | |
Message routing layer between protocol and application logic.
This file defines the MessageHandler class, which acts as the glue between parsed irsol::protocol::InMessage protocol messages and application-defined logic callbacks.
It allows registering handler functions for three categories of messages:
This class is used by the irsol::server::App to delegate protocol message handling to specific client logic based on the message type and identifier.
Definition in file message_handler.hpp.