libcppa
Version 0.1
|
#include <actor_proxy.hpp>
Public Member Functions | |
void | enqueue (actor *sender, const any_tuple &msg) |
void | link_to (intrusive_ptr< actor > &other) |
void | unlink_from (intrusive_ptr< actor > &other) |
bool | remove_backlink (intrusive_ptr< actor > &to) |
bool | establish_backlink (intrusive_ptr< actor > &to) |
Represents a remote Actor.
Enqueues msg
to the list of received messages.
Implements cppa::channel.
bool cppa::actor_proxy::establish_backlink | ( | intrusive_ptr< actor > & | other | ) | [virtual] |
Establishes a link relation between this actor and other
.
other | Actor instance that wants to link against this Actor. |
true
if this actor is running and added other
to its list of linked actors; otherwise false
. Reimplemented from cppa::detail::abstract_actor< actor >.
void cppa::actor_proxy::link_to | ( | intrusive_ptr< actor > & | other | ) | [virtual] |
Links this actor to other
.
other | Actor instance that whose execution is coupled to the execution of this Actor. |
Reimplemented from cppa::detail::abstract_actor< actor >.
bool cppa::actor_proxy::remove_backlink | ( | intrusive_ptr< actor > & | other | ) | [virtual] |
Removes a link relation between this actor and other
.
other | Actor instance that wants to unlink from this Actor. |
true
if this actor is running and removed other
from its list of linked actors; otherwise false
. Reimplemented from cppa::detail::abstract_actor< actor >.
void cppa::actor_proxy::unlink_from | ( | intrusive_ptr< actor > & | other | ) | [virtual] |
Unlinks this actor from other
.
oter | Linked Actor. |
Reimplemented from cppa::detail::abstract_actor< actor >.