#region using System.ServiceModel; #endregion namespace CSFrameworkV5.WCFContract { [ServiceContract(Namespace = "http://www.csframework.com")] public interface IMessageCenter { [OperationContract] void Broadcast(byte[] loginTicket, string message, string messageType); [OperationContract] bool DeleteBroadcast(byte[] loginTicket, int isid); [OperationContract] bool DeleteMessage(byte[] loginTicket, string messageId); [OperationContract] byte[] GetBroadcast(byte[] loginTicket); [OperationContract] string GetBroadcastMessage(byte[] loginTicket); [OperationContract] byte[] GetMessage(byte[] loginTicket, string account); [OperationContract] byte[] GetMessageTopDays(byte[] loginTicket, int days); [OperationContract] void MakeRead(byte[] loginTicket, string messageID, string account); [OperationContract] bool SendMessage(byte[] loginTicket, string message, int accountGroupType, string accountOrGroup); } }