mirror of https://github.com/oxen-io/lokinet
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
392 B
C++
17 lines
392 B
C++
#include <tooling/hive_context.hpp>
|
|
|
|
#include <tooling/hive_router.hpp>
|
|
|
|
namespace tooling
|
|
{
|
|
std::unique_ptr<llarp::AbstractRouter>
|
|
HiveContext::makeRouter(
|
|
std::shared_ptr<llarp::thread::ThreadPool> worker,
|
|
llarp_ev_loop_ptr netloop,
|
|
std::shared_ptr<llarp::Logic> logic)
|
|
{
|
|
return std::make_unique<HiveRouter>(worker, netloop, logic);
|
|
}
|
|
|
|
} // namespace tooling
|