Пример #1
0
 def __init__(self, engine):
     threadutil.Thread.__init__(self)
     self.pyroserver = remote.GameServer(engine)
     self.pyrodaemon = Pyro4.Daemon()
     self.ns = Pyro4.locateNS()
     self.setDaemon(True)
Пример #2
0
 def __init__(self, engine):
     threading.Thread.__init__(self)
     self.pyroserver = remote.GameServer(engine)
     self.pyrodaemon = Pyro5.api.Daemon()
     self.setDaemon(True)