Exemplo n.º 1
0
 def dataReceived(self, packet):
     data = PackUtils.unpack(packet)
     self.send_locked = False
     self.response(data, 
                   self.request, 
                   self.func_name, 
                   self.args)
Exemplo n.º 2
0
 def call_remote(self, request, func_name, args):
     self.logger.debug("UX:calling %s" % (func_name))
     try:
         packet = PackUtils.pack([func_name, args])
     except Exception, e:
         self.logger.warn("UX call pack method failed: %s" % str(e))
Exemplo n.º 3
0
 def call_remote(self, request, func_name, args):
     self.logger.debug("UX:calling %s" %(func_name))
     try :
         packet = PackUtils.pack([func_name, args])
     except Exception, e:
         self.logger.warn("UX call pack method failed: %s" % str(e))
Exemplo n.º 4
0
 def dataReceived(self, packet):
     data = PackUtils.unpack(packet)
     self.send_locked = False
     self.response(data, self.request, self.func_name, self.args)