C++ Actor Framework 1.0.0
|
Provides a fluent interface for sending asynchronous messages to actors. More...
#include <blocking_mail.hpp>
Public Types | |
using | super = async_mail_base_t<Priority, Trait, Args...> |
Public Member Functions | |
blocking_mail_t (abstract_blocking_actor *self, message &&content) | |
template<message_priority P = Priority, class E = std::enable_if_t<P == message_priority::normal>> | |
auto | urgent () && |
Tags the message as urgent, i.e., sends it with high priority. | |
auto | schedule (actor_clock::time_point timeout) && |
Schedules the message for delivery with an absolute timeout. | |
auto | delay (actor_clock::duration_type timeout) && |
Schedules the message for delivery with a relative timeout. | |
template<class Handle > | |
auto | request (const Handle &receiver, timespan relative_timeout) && |
Sends the message to receiver as a request message and returns a handle for processing the response. | |
Public Member Functions inherited from caf::async_mail_base_t< Priority, Trait, Args... > | |
async_mail_base_t (local_actor *self, message &&content) | |
async_mail_base_t (const async_mail_base_t &)=delete | |
async_mail_base_t & | operator= (const async_mail_base_t &)=delete |
void | send (const Handle &receiver) && |
Sends the message to receiver . | |
auto | delegate (const Handle &receiver) && |
Sends the message to receiver . | |
Additional Inherited Members | |
Protected Attributes inherited from caf::async_mail_base_t< Priority, Trait, Args... > | |
local_actor * | self_ |
message | content_ |
Provides a fluent interface for sending asynchronous messages to actors.