示例#1
0
 private void OnLine(UserToken token)
 {
     ExecutorPool.Instance.Execute(delegate()
     {
         Write(token, UserProtocol.ONLINE_SRES, Convert(userBiz.OnLine(token)));
     });
 }
示例#2
0
 void OnLine(UserToken token, int roleId)
 {
     ExecutorPool.Instance.Executor(delegate
     {
         UserDTO i = UserBiz.OnLine(token, roleId);
         Write(token, UserProtocol.OnLine_SRES, i);
     });
 }
示例#3
0
 private void online(UserToken token)
 {
     ExecutorPool.Instance.execute(
         delegate()
     {
         write(token, GameProtocol.UserProtocol.ONLINE_SERS, convert(userBiz.OnLine(token)));
     }
         );
 }