C++ Actor Framework 1.0.0
|
A sender
is an actor that supports self->send(...)
.
More...
#include <sender.hpp>
Inherits Base.
Public Types | |
using | extended_base = sender |
Public Member Functions | |
template<message_priority Priority = message_priority::normal, class Handle , class T , class... Ts> | |
void | send (const Handle &receiver, T &&arg, Ts &&... args) |
Sends {args...} as an asynchronous message to receiver with given priority. | |
template<message_priority Priority = message_priority::normal, class Handle , class T , class... Ts> | |
disposable | scheduled_send (const Handle &receiver, actor_clock::time_point timeout, T &&arg, Ts &&... args) |
Sends {args...} as an asynchronous message to receiver with given priority after the timeout expires. | |
template<message_priority Priority = message_priority::normal, class Handle , class T , class... Ts> | |
disposable | delayed_send (const Handle &receiver, actor_clock::duration_type timeout, T &&arg, Ts &&... args) |
Sends {args...} as an asynchronous message to receiver with given priority after the timeout expires. | |
A sender
is an actor that supports self->send(...)
.