示例#1
0
        private void SendAsyncBase(QueueSocketMsgType type, byte[] content)
        {
            var data = QueueSocketMsg.Parse(content, type).ToBytes();

            this.SendAsync(data);

            Actived = DateTimeHelper.Now;
        }
示例#2
0
文件: QServer.cs 项目: wc1432/SAEA
        private void ReplyBase(IUserToken ut, QueueSocketMsgType type, byte[] content)
        {
            var byts = QueueSocketMsg.Parse(content, type).ToBytes();

            base.Send(ut, byts);
        }