天津投入产出系统后端
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.
 
 
 
 
 
 

31 lines
797 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace QM.Exchange.Interface
{
/// <summary>
/// 数据交换上下文接口
/// </summary>
public interface IExChangeContext
{
/// <summary>
/// 获取客户端列表
/// </summary>
/// <returns></returns>
List<Worker> GetWokerList();
/// <summary>
/// 向客户端发送信息(异步)
/// </summary>
/// <param name="Message"></param>
void SendMessageToClient(string sessionID, CommonMessage message);
/// <summary>
/// 向消息总线发送消息
/// </summary>
/// <param name="msg">消息实体</param>
void EnqueueToBus(CommonMessage msg);
}
}