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

Message with this payload is forwarded to the handler's supervisor for the delivery of the original message. More...

#include <messages.hpp>

Public Attributes

message_ptr_t orig_message
 The original message (intrusive pointer) sent to an address.
 
handler_ptr_t handler
 The handler (intrusive pointer) on some external supervisor, which can process the original message.
 

Detailed Description

Message with this payload is forwarded to the handler's supervisor for the delivery of the original message.

An address in rotor is always generated by a supervisor. All messages to the address are initially pre-processed by the supervisor: if the destination handler supervisor is the same as the message address supervisor, the handler is invoked immediately. Otherwise, if a handler belongs to different supervisor (i.e. may be to different event loop), then the delivery of the message is forwarded to that supervisor.


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