Ejemplo n.º 1
0
 def on_ws_connected(self):
     try:
         self.ID = "%032x" % (random.getrandbits(128))
         from platformcode.controllers.html import html
         self.controller = html(self, self.ID)
         self.server.fnc_info()
     except:
         logger.error(traceback.format_exc())
Ejemplo n.º 2
0
 def handleConnected(self):
     try:
         from platformcode.controllers.html import html
         self.controller = html(self)
         platformtools.controllers[self.ID] = self.controller
         self.server.fnc_info()
     except:
         logger.error(traceback.format_exc())
Ejemplo n.º 3
0
 def handleConnected(self):
     try:
         from platformcode.controllers.html import html
         self.controller = html(self)
         platformtools.controllers[self.ID] = self.controller
         self.server.fnc_info()
     except:
         logger.error(traceback.format_exc())
Ejemplo n.º 4
0
 def handleConnected(self):
     try:
         self.ID = "%032x" % (random.getrandbits(128))
         from platformcode.controllers.html import html
         self.controller = html(self, self.ID)
         self.server.fnc_info()
     except:
         logger.error(traceback.format_exc())
         self.close()