/// <summary> /// 发送消息 /// </summary> /// <param name="client"></param> /// <param name="msg"></param> public void SendMessage(Client client, Message msg) { BufferQueue.AddMessage(new SendMessageBuffer(client, msg)); SendMREvent.Set(); }
/// <summary> /// 发送消息 /// </summary> /// <param name="client"></param> /// <param name="msg"></param> public void SendMessage(Client client, Message msg) { BufferQueue.AddMessage(new SendMessageBuffer(client, msg)); SendMREvent.Set(); }