using SipComponent; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Dispatcher.Sip { interface ISocketIOComponent { /// /// Sends an sms on socket IO /// /// Unique seqID. It should be in the format dispatcherSipID.timestamp /// SC ID of the sender /// The sip group ID /// SC ID of the group /// The text /// True if is group sms, else false void SendSms(string seqID, int fromScID, int destinationSipID, int destinationScID, string text, bool isGroupSms); /// /// Occurs when an sms is received on socketIO /// event EventHandler SocketIOSmsReceived; /// /// Occurs when an sms ack is received on socketIO /// event EventHandler SocketIOSmsAckReceived; } }