zookeeper_t::zookeeper_t(cocaine::context_t& context, const std::string& name, const dynamic_t& args) : api::unicorn_t(context, name, args), log(context.log(name)), zk_session(), zk(make_zk_config(args), zk_session) { }
unix_actor_t::unix_actor_t(cocaine::context_t& context, asio::local::stream_protocol::endpoint endpoint, fact_type fact, bind_type bind, const std::shared_ptr<asio::io_service>& asio, std::unique_ptr<cocaine::io::basic_dispatch_t> prototype) : m_context(context), endpoint(std::move(endpoint)), m_log(context.log("core/asio", {{ "service", prototype->name() }})), m_asio(asio), m_prototype(std::move(prototype)), fact(std::move(fact)), bind(bind) {}