예제 #1
0
        public void UserTaskAsync()
        {
            SingleMem _s = SingleMem.Getinstance();


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

            _s.AddChannel(context);
        }