X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3e2e56a1ff8c65d47e0cf4e458eac56e08a2b528..ddf6262b78ea331d365560f3c94270a97a6d7763:/src/surf/network_ns3.hpp?ds=sidebyside diff --git a/src/surf/network_ns3.hpp b/src/surf/network_ns3.hpp index e4254bea48..626e7f3efa 100644 --- a/src/surf/network_ns3.hpp +++ b/src/surf/network_ns3.hpp @@ -21,9 +21,9 @@ public: ~NetworkNS3Model(); Link* createLink(const char *name, double bandwidth, double latency, e_surf_link_sharing_policy_t policy, xbt_dict_t properties) override; - Action *communicate(kernel::routing::NetCard *src, kernel::routing::NetCard *dst, double size, double rate); + Action* communicate(s4u::Host* src, s4u::Host* dst, double size, double rate) override; double nextOccuringEvent(double now) override; - bool next_occuring_event_isIdempotent() {return false;} + bool nextOccuringEventIsIdempotent() {return false;} void updateActionsState(double now, double delta) override; }; @@ -47,7 +47,7 @@ public: **********/ class XBT_PRIVATE NetworkNS3Action : public NetworkAction { public: - NetworkNS3Action(Model *model, double cost, kernel::routing::NetCard *src, kernel::routing::NetCard *dst); + NetworkNS3Action(Model* model, double cost, s4u::Host* src, s4u::Host* dst); bool isSuspended(); int unref(); @@ -56,8 +56,8 @@ public: //private: double lastSent_ = 0; - kernel::routing::NetCard *src_; - kernel::routing::NetCard *dst_; + s4u::Host* src_; + s4u::Host* dst_; }; }