Exemplo n.º 1
0
 def dobbou_runner(self):
     if self.method.lower() == 'http':
         res = self.http_runner()
         return res
     elif self.method.lower() == 'https':
         res = self.https_runner()
         return res
     elif self.method.lower() == 'hessian':
         res = self.hessian_runner()
         return res
     else:
         Log.LOG('DOBBOU').log_info(
             'The protocol of Dobbou interface is invalid!')
Exemplo n.º 2
0
 def http_runner(self):
     Log.LOG('DOBBOU').log_info('The Dobbou method:\n')
     result = http.http_runner(self.interfacename)
     return result
Exemplo n.º 3
0
 def hessian_runner(self):
     Log.LOG('DOBBOU').log_info('The Dobbou method:\n')
     result = hessian.hessian_runner(self.interfacename, self.apiname)
     return result