- if (netzone_p != nullptr)
- id_ = netzone_p->addComponent(this);
- simgrid::s4u::Engine::instance()->netcardRegister(this);
- simgrid::kernel::routing::NetPoint::onCreation(this);
+ simgrid::s4u::Engine::get_instance()->netpoint_register(this);
+ simgrid::kernel::routing::NetPoint::on_creation(*this);