啊鑫
2024-07-11 afbf8700d137710713db61955879d0f5acb73738
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#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);
    }
}