You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
802 B
32 lines
802 B
4 years ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Text;
|
||
|
using System.ServiceModel;
|
||
|
using QM.Exchange.Interface;
|
||
|
|
||
|
namespace QM.Exchange.Core
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 登录服务接口
|
||
|
/// </summary>
|
||
|
[ServiceContract]
|
||
|
public interface IGeneralMessageService
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 消息接收
|
||
|
/// </summary>
|
||
|
/// <param name="message"></param>
|
||
|
[OperationContract]
|
||
|
void RequestServer(CommonMessage message);
|
||
|
|
||
|
/// <summary>
|
||
|
/// 通用服务请求
|
||
|
/// </summary>
|
||
|
/// <param name="request">请求(不支持复杂类型)</param>
|
||
|
/// <returns>返回结果(不支持复杂类型)</returns>
|
||
|
[OperationContract]
|
||
|
string RecevieRequest(string request);
|
||
|
}
|
||
|
}
|