rotor
Event loop friendly C++ actor micro-framework
 
Loading...
Searching...
No Matches
rotor::plugin::local_delivery_t Struct Reference

basic local message delivery implementation More...

#include <delivery.h>

Static Public Member Functions

static void delivery (message_ptr_t &message, const subscription_t::joint_handlers_t &local_recipients) noexcept
 delivers an message for self of one of child-actors (non-supervisors)
 

Detailed Description

basic local message delivery implementation

Member Function Documentation

◆ delivery()

static void rotor::plugin::local_delivery_t::delivery ( message_ptr_t message,
const subscription_t::joint_handlers_t local_recipients 
)
staticnoexcept

delivers an message for self of one of child-actors (non-supervisors)

Supervisor iterates on subscriptions (handlers) on the message destination address:

  • If the handler is local (i.e. it's actor belongs to the same supervisor),
  • Otherwise the message is forwarded for delivery for the foreign supervisor, which owns the handler.

The documentation for this struct was generated from the following file: