/** @brief Update the latency in seconds of current Link */
virtual void setLatency(double value) = 0;
- /** @brief The sharing policy is a @{link e_surf_link_sharing_policy_t::EType} (0: FATPIPE, 1: SHARED, 2:
- * SPLITDUPLEX) */
- virtual int sharingPolicy();
+ /** @brief The sharing policy */
+ virtual s4u::Link::SharingPolicy sharingPolicy();
/** @brief Check if the Link is used */
bool is_used() override;
void turn_on() override;
void turn_off() override;
+ void on_bandwidth_change();
+
virtual void setStateTrace(tmgr_trace_t trace); /*< setup the trace file with states events (ON or OFF).
Trace must contain boolean values. */
virtual void setBandwidthTrace(
**********/
/** @ingroup SURF_network_interface
* @brief SURF network action interface class
- * @details A NetworkAction represents a communication between two [hosts](\ref HostImpl)
+ * @details A NetworkAction represents a communication between two [hosts](\ref simgrid::surf::HostImpl)
*/
class NetworkAction : public Action {
public: