21 : access_(std::move(access)){};
25 virtual void process(
const MessageVariant &msg) = 0;
28 std::shared_ptr<AccessContainer> access_;
29 void send(
const MessageVariant &msg) { access_->send(msg); }
31 std::shared_ptr<RoutingInformation> getRoutingInfo()
const {
return access_->routing_info; }
33 NodeInfo getSelfNodeInfo()
const {
return getRoutingInfo()->getSelfNodeInfo(); }