* @param value New latency value (in s)
*/
Link* set_latency(double value);
- /** @brief Set latency (string version) */
+ /**
+ * @brief Set latency (string version)
+ *
+ * @throw std::invalid_argument if latency format is incorrect.
+ */
Link* set_latency(const std::string& value);
/** @brief Describes how the link is shared between flows */
+ Link* set_sharing_policy(SharingPolicy policy);
SharingPolicy get_sharing_policy() const;
/** Setup the profile with states events (ON or OFF). The profile must contain boolean values. */
void turn_off();
bool is_on() const;
- void seal();
+ Link* seal();
/* The signals */
/** @brief Callback signal fired when a new Link is created */