public static TAClientListener startListenerThread(TAServer server)
        {
            TAClientListener l = new TAClientListener(server);

            new Thread(l.listen).Start();
            return(l);
        }
Esempio n. 2
0
 public TAServer()
 {
     alive = true;
     initMessageCodeDictionary();
     world = new TAWorld();
     world.createScenes();
     clients        = new List <TAClient>();
     clientListener = TAClientListener.startListenerThread(this);
     new TAServerInterface(this);
 }