private void SendAsyncBase(QueueSocketMsgType type, byte[] content) { var data = QueueSocketMsg.Parse(content, type).ToBytes(); this.SendAsync(data); Actived = DateTimeHelper.Now; }
private void ReplyBase(IUserToken ut, QueueSocketMsgType type, byte[] content) { var byts = QueueSocketMsg.Parse(content, type).ToBytes(); base.Send(ut, byts); }