Denotes whether a message is asynchronous or synchronous.
More...
#include <message_id.hpp>
Inherits comparable< message_id >.
|
|
constexpr | message_id (invalid_message_id_t) |
| |
|
| message_id (message_id &&)=default |
| |
|
| message_id (const message_id &)=default |
| |
|
message_id & | operator= (message_id &&)=default |
| |
|
message_id & | operator= (const message_id &)=default |
| |
|
message_id & | operator++ () |
| |
|
bool | is_async () const |
| |
|
bool | is_response () const |
| |
|
bool | is_answered () const |
| |
|
bool | is_high_priority () const |
| |
|
bool | valid () const |
| |
|
bool | is_request () const |
| |
|
message_id | response_id () const |
| |
|
message_id | request_id () const |
| |
|
message_id | with_high_priority () const |
| |
|
message_id | with_normal_priority () const |
| |
|
void | mark_as_answered () |
| |
|
uint64_t | integer_value () const |
| |
|
long | compare (const message_id &other) const |
| |
|
|
static constexpr uint64_t | response_flag_mask = 0x8000000000000000 |
| |
|
static constexpr uint64_t | answered_flag_mask = 0x4000000000000000 |
| |
|
static constexpr uint64_t | high_prioity_flag_mask = 0x2000000000000000 |
| |
|
static constexpr uint64_t | request_id_mask = 0x1FFFFFFFFFFFFFFF |
| |
|
|
template<class T > |
| void | serialize (T &in_or_out, message_id &mid, const unsigned int) |
| |
Denotes whether a message is asynchronous or synchronous.
- Note
- Asynchronous messages always have an invalid message id.
The documentation for this class was generated from the following file:
- libcaf_core/caf/message_id.hpp