using System; using System.Collections.Generic; using System.Text; namespace Content.Server.Interfaces { public interface IDeviceNetworkConnection { public int Frequency { get; } /// /// Sends a package to a specific device /// /// The frequency the package should be send on /// The target devices address /// /// public bool Send(int frequency, string address, Dictionary payload); /// public bool Send(string address, Dictionary payload); /// /// Sends a package to all devices /// /// The frequency the package should be send on /// /// public bool Broadcast(int frequency, Dictionary payload); /// public bool Broadcast(Dictionary payload); } }