Commit d6e2f8bd authored by Dominik Charousset's avatar Dominik Charousset

Port caf_net to latest CAF API

parent 53c85439
......@@ -75,6 +75,9 @@ public:
return result.release();
}
/// Adds module-specific options to the config before loading the module.
static void add_module_options(actor_system_config& cfg);
// -- remoting ---------------------------------------------------------------
expected<endpoint_manager_ptr> connect(const uri& locator);
......
......@@ -96,6 +96,10 @@ void* middleman::subtype_ptr() {
return this;
}
void middleman::add_module_options(actor_system_config&) {
// nop
}
expected<endpoint_manager_ptr> middleman::connect(const uri& locator) {
if (auto ptr = backend(locator.scheme()))
return ptr->get_or_connect(locator);
......
......@@ -47,6 +47,10 @@ struct dummy_actor : public monitorable_actor {
void enqueue(mailbox_element_ptr, execution_unit*) override {
// nop
}
void setup_metrics() {
// nop
}
};
class dummy_application {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment