|
qb
2.0.0.0
C++17 Actor Framework
|
Event type for service-to-service communication. More...
#include <Event.h>


Public Member Functions | |
| void | received () noexcept |
| Mark the event as received and swap source/destination. | |
| void | live (bool flag) noexcept |
| Set the event's alive status. | |
| Public Member Functions inherited from qb::Event | |
| bool | is_alive () const noexcept |
| Check if the event is still alive and can be processed. | |
| id_type | getID () const noexcept |
| Get the event's type ID for event routing and handling. | |
| uint8_t | getQOS () const noexcept |
| Get the event's quality of service level. | |
| id_handler_type | getDestination () const noexcept |
| Get the destination actor ID. | |
| id_handler_type | getSource () const noexcept |
| Get the source actor ID. | |
| std::size_t | getSize () const noexcept |
| Get the size of the event in bytes. | |
Public Attributes | |
| id_handler_type | forward |
| id_type | service_event_id |
Additional Inherited Members | |
| Public Types inherited from qb::Event | |
| using | id_handler_type = ActorId |
| using | id_type = const char * |
| Static Public Member Functions inherited from qb::Event | |
| template<typename T> | |
| static constexpr id_type | type_to_id () |
| Get the type identifier at runtime. | |
Event type for service-to-service communication.
ServiceEvent extends the base Event class with additional functionality for service-to-service communication, including event forwarding and service-specific event identification.
|
inlinenoexcept |
Set the event's alive status.
| flag | New alive status |