-simgrid::xbt::signal<void(kernel::resource::NetworkAction*)> Link::on_communication_state_change;
-
-void Link::destroy()
-{
- if (not currentlyDestroying_) {
- currentlyDestroying_ = true;
- on_destruction(*this);
- Engine::get_instance()->link_unregister(std::string(pimpl_->get_cname()));
- }
-}
+simgrid::xbt::signal<void(kernel::resource::NetworkAction*, kernel::resource::Action::State)>
+ Link::on_communication_state_change;