13#include "subscription_point.h"
15#include "extended_error.h"
19#pragma warning(disable : 4251)
94 template <
typename Address,
typename Reason>
114 template <
typename Reason>
Basic namespace for all rotor functionalities.
Definition rotor.hpp:21
intrusive_ptr_t< message_base_t > message_ptr_t
intrusive pointer for message
Definition message.h:118
intrusive_ptr_t< address_t > address_ptr_t
intrusive pointer for address
Definition address.hpp:57
intrusive_ptr_t< extended_error_t > extended_error_ptr_t
intrusive pointer to extended error type
Definition extended_error.h:25
intrusive_ptr_t< actor_base_t > actor_ptr_t
intrusive pointer for actor
Definition forward.hpp:23
intrusive_ptr_t< handler_base_t > handler_ptr_t
intrusive pointer for handler
Definition forward.hpp:26
the generic message meant to hold user-specific payload
Definition message.h:83
Message with this payload is sent to the target address supervisor for confirming unsubscription in t...
Definition messages.hpp:190
subscription_point_t point
subscription details
Definition messages.hpp:192
Message with this payload is sent to supervisor when an actor is created (constructed).
Definition messages.hpp:55
pt::time_duration timeout
maximum time for actor initialization
Definition messages.hpp:65
actor_ptr_t actor
the intrusive pointer to created actor
Definition messages.hpp:57
deregistration notification for all names associated with service address
Definition messages.hpp:227
address_ptr_t service_addr
service address for deregistration
Definition messages.hpp:229
removes single service by name from a registry
Definition messages.hpp:235
std::string service_name
the name of the service address to be removed for a registry
Definition messages.hpp:237
delayed discovery response as soon as an address has been registered
Definition messages.hpp:262
address_ptr_t service_addr
the service address found by name in a registry
Definition messages.hpp:264
ask registry for discovery_future_t when the target service name has been registered
Definition messages.hpp:271
std::string service_name
the service name to be looked in a registry
Definition messages.hpp:275
successful result of service discovery
Definition messages.hpp:243
address_ptr_t service_addr
the service address found by name in a registry
Definition messages.hpp:245
discover service by name in a registry
Definition messages.hpp:251
std::string service_name
the service name to be looked in a registry
Definition messages.hpp:256
Message with this payload is forwarded to the target address supervisor for recording subscription in...
Definition messages.hpp:154
subscription_point_t point
subscription details
Definition messages.hpp:156
Message with this payload is forwarded to the target address supervisor for recording unsubscription ...
Definition messages.hpp:178
subscription_point_t point
subscription details
Definition messages.hpp:180
Message with this payload is forwarded to the handler's supervisor for the delivery of the original m...
Definition messages.hpp:133
handler_ptr_t handler
The handler (intrusive pointer) on some external supervisor, which can process the original message.
Definition messages.hpp:141
message_ptr_t orig_message
The original message (intrusive pointer) sent to an address.
Definition messages.hpp:137
Message with this payload is sent from a supervisor to an actor as initialization request.
Definition messages.hpp:37
Message with this payload is sent from an actor to its supervisor to confirm successful initializatio...
Definition messages.hpp:31
requests target actor to be linked with the current one
Definition messages.hpp:286
bool operational_only
wait until target server (actor) starts, only then reply to the source actor
Definition messages.hpp:291
successful confirmation to link_request_t
Definition messages.hpp:281
"name - >service address mapping" request
Definition messages.hpp:212
std::string service_name
(unique) name of the service address in the registry
Definition messages.hpp:217
address_ptr_t service_addr
actual service address
Definition messages.hpp:220
Successful registration response (no content)
Definition messages.hpp:207
Message with this payload is sent from an actor to its supervisor to confirm successful shutdown.
Definition messages.hpp:103
Message with this payload is sent from a supervisor to an actor as shutdown request.
Definition messages.hpp:109
extended_error_ptr_t reason
shutdown reason
Definition messages.hpp:118
shutdown_request_t(Reason &&reason_) noexcept
constructs shutdown request with shutdown reason
Definition messages.hpp:115
Message with this payload is sent to ask an actor's supervisor to initiate shutdown procedure.
Definition messages.hpp:86
shutdown_trigger_t(Address &&address_, Reason &&reason_) noexcept
constructs shutdown trigger for the actor, defined with address, and the shutdown reason
Definition messages.hpp:95
address_ptr_t actor_address
the actor to be shut down
Definition messages.hpp:88
extended_error_ptr_t reason
shutdown reason
Definition messages.hpp:91
Message with this payload is sent to supervisor when spawner should create new actor instance.
Definition messages.hpp:75
address_ptr_t spawner_address
identifies the spawner
Definition messages.hpp:78
Message with this payload is sent from a supervisor to an actor as start confirmation.
Definition messages.hpp:46
Message with this payload is sent from a supervisor to an actor when successful subscription to the t...
Definition messages.hpp:166
subscription_point_t point
subscription details
Definition messages.hpp:168
"client" notifies "server" that the connection has been closed from its side
Definition messages.hpp:298
address_ptr_t client_addr
client actor address in unlinking
Definition messages.hpp:300
"server" asks "client" for closing connection
Definition messages.hpp:306
address_ptr_t server_addr
server actor address in unlinking
Definition messages.hpp:311
Message with this payload is sent from a supervisor to an actor with confirmation that point is no lo...
Definition messages.hpp:199
subscription_point_t point
subscription details
Definition messages.hpp:201
pair of handler_base_t linked to particular address_t
Definition subscription_point.h:50