C++ Actor Framework 1.0.0
|
Provides a fluent interface for sending anonymous messages to actors at a specific point in time. More...
#include <anon_mail.hpp>
Public Member Functions | |
anon_scheduled_mail_t (message &&content, actor_clock::time_point timeout) | |
anon_scheduled_mail_t (const anon_scheduled_mail_t &)=delete | |
anon_scheduled_mail_t & | operator= (const anon_scheduled_mail_t &)=delete |
template<class Handle , class RefTag = strong_ref_t> | |
disposable | send (const Handle &receiver, RefTag ref_tag={}) && |
Sends the message to receiver . | |
Provides a fluent interface for sending anonymous messages to actors at a specific point in time.
disposable caf::anon_scheduled_mail_t< Priority, Args >::send | ( | const Handle & | receiver, |
RefTag | ref_tag = {} ) && |
Sends the message to receiver
.
receiver | The actor that should receive the message. |
ref_tag | Either strong_ref or weak_ref . When passing strong_ref , the system will keep a strong reference to the receiver until the message has been delivered. Otherwise, the system will only keep a weak reference to the receiver and the message will be dropped if the receiver has been garbage collected in the meantime. |