Exemple #1
0
 def __call__(self, *args, **kwargs):
     new_args = controller.get_host()._dumps(list(args))
     result = self.__send(self.__name, new_args, kwargs)
     if result != None:
         return controller.get_host()._loads(result)
     else:
         return result
Exemple #2
0
 def __call__(self, *args, **kwargs):
     new_args = controller.get_host()._dumps(list(args))
     result = self.__send(self.__name, new_args, kwargs)
     if result != None:
         return controller.get_host()._loads(result)
     else:
         return result
Exemple #3
0
 def wrap_ref_d(*args):
     args[1][RESULT] = controller.get_host()._dumps(args[1][RESULT])
     return f(*args)
Exemple #4
0
 def wrap_ref_l(*args):
     args[0][PARAMS] = controller.get_host()._loads(args[0][PARAMS])
     return f(*args)
Exemple #5
0
 def wrap_ref_d(*args):
     args[1][RESULT] = controller.get_host()._dumps(args[1][RESULT])
     return f(*args)
Exemple #6
0
 def wrap_ref_l(*args):
     args[0][PARAMS] = controller.get_host()._loads(args[0][PARAMS])
     return f(*args)