示例#1
0
 private void create(UserToken token, string model)
 {
     ExecutorPool.Instance.execute(
         delegate()
     {
         write(token, GameProtocol.UserProtocol.CREATE_SERS, userBiz.Create(token, model));
     }
         );
 }
示例#2
0
 public void creat(UserToken token, string message)
 {
     //跳转至单线程执行
     ExcutorPool.Instance.excute(delegate()
     {
         bool result = userBiz.Create(token, message);
         //Console.WriteLine(result);
         write(token, UserProtocol.CREAT_SRES, result);
     });
 }