using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Tango.Transport.Discovery { /// /// Represents a discovery component. /// public interface IDiscoveryComponent { /// /// Gets or sets the interval in which the discovery process will be triggered. /// TimeSpan Interval { get; set; } /// /// Gets a value indicating whether this component has been started. /// bool IsStarted { get; } /// /// Starts the discovery component. /// void Start(); /// /// Stops the discovery component. /// void Stop(); } }