public void UserTaskAsync() { SingleMem _s = SingleMem.Getinstance(); while (true) { Thread.Sleep(3000); _s.FlushContext(String.Format("{0}+{1}", "aaron-clark-aic", DateTime.Now.ToString())); } }
override public void ChannelActive(IChannelHandlerContext context) { SingleMem _s = SingleMem.Getinstance(); _s.AddChannel(context); }