|
C++ Actor Framework 0.18
|
Interface for all message receivers. More...
#include <abstract_channel.hpp>
Public Member Functions | |
| virtual bool | enqueue (strong_actor_ptr sender, message_id mid, message content, execution_unit *host=nullptr)=0 |
| Enqueues a new message without forwarding stack to the channel. | |
| bool | is_abstract_actor () const |
| bool | is_abstract_group () const |
| bool | is_actor_decorator () const |
Protected Member Functions | |
| int | flags () const |
| void | flags (int new_value) |
Friends | |
| class | abstract_actor |
| class | abstract_group |
Interface for all message receivers.
|
pure virtual |
Enqueues a new message without forwarding stack to the channel.
true if the message has been dispatches successful, false otherwise. In the latter case, the channel has been closed and the message has been dropped. Once this function returns false, it returns false for all future invocations. Implemented in caf::detail::group_tunnel, caf::detail::local_group_module::impl, caf::abstract_actor, and caf::actor_companion.