X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cd05fcfa9ff6df9b054060937165d422a536bd99..312fb09ad52ce2677ad845a760d477b688a30d2c:/src/surf/network_constant.hpp diff --git a/src/surf/network_constant.hpp b/src/surf/network_constant.hpp index d4f393965b..36782df5d6 100644 --- a/src/surf/network_constant.hpp +++ b/src/surf/network_constant.hpp @@ -29,9 +29,8 @@ namespace simgrid { NetworkConstantModel() : NetworkModel() { }; ~NetworkConstantModel() override; - Action *communicate(NetCard *src, NetCard *dst, double size, double rate) override; - double next_occuring_event(double now) override; - bool next_occuring_event_isIdempotent() override {return true;} + Action* communicate(simgrid::s4u::Host* src, simgrid::s4u::Host* dst, double size, double rate) override; + double nextOccuringEvent(double now) override; void updateActionsState(double now, double delta) override; Link* createLink(const char *name, double bw, double lat, e_surf_link_sharing_policy_t policy, xbt_dict_t properties) override;