Event loop friendly C++ actor micro-framework
|
5 vuotta sitten | |
---|---|---|
cmake | 6 vuotta sitten | |
docs | 5 vuotta sitten | |
doxygen @ 88853c2f20 | 5 vuotta sitten | |
examples | 5 vuotta sitten | |
include | 5 vuotta sitten | |
src | 5 vuotta sitten | |
tests | 5 vuotta sitten | |
.clang-format | 6 vuotta sitten | |
.gitmodules | 6 vuotta sitten | |
.travis.yml | 5 vuotta sitten | |
CMakeLists.txt | 5 vuotta sitten | |
LICENSE | 6 vuotta sitten | |
README.md | 5 vuotta sitten | |
appveyor.yml | 6 vuotta sitten |
rotor
is event loop friendly C++ actor micro framework.
MIT
Please read tutorial, design principles and manual here
supervisor_policy_t
was introduced to control supervisor
behavior on a child-actor startup failureexamples/ev/pong-registry.cpp
how to use registryrotor::arc_base
, to allow
forwarding requests without copying it (i.e. just intrusive pointer is created)examples/boost-asio/beast-scrapper.cpp
has been added; it
demonstrates an app with pool of actor workers with request-response forwardingsupervisor_config_t
,
which contains shutdown timeout valuecreate_actor
method now takes child max
init time value. If it does not confirm, the child actor will be asked
for shut down.message::shutdown_request_t
message::init_request_t
message::state_request_t
,
which follows the generic request/response pattern. The response type
is now message::state_response_t
.outbound
field in rotor::supervisor_t
was renamed just to queue
rotor::address_t
now contains const void*
localityrotor::asio::supervisor_config_t
now contains
std::shared_ptr
to strand
, instead of creating private strand
for each supervisordo_start()
method in rotor::supervisor_t
was
removed, since supervisor now is able to start self after compliting
initialization.rotor::supervisor_t
sends initialize_actor_t
to self
to advance own state to INITIALIZED
via common actor mechanism,
instead of changeing state directly on early initialization phase
(do_initialize
)rotor::asio::forwarder_t
now more correctly dispatches
boost::asio events to actor methodsrotor::ev::supervisor_ev_t
properly handles refcounterInitial version