示例#1
0
 def handle_update(self, code, code_msg, content):
     if code == SC_CLIENT_CALL_MORE:
         self.fcallstr += content
         return
     elif code == SC_CLIENT_CALL:
         self.fcallstr += content
         self.fretstr = searpc_server.call_function(self.name, self.fcallstr)
         self.fcallstr = ''
         self.send_fret()
     elif code == SC_CLIENT_MORE:
         self.send_fret()
示例#2
0
 def handle_update(self, code, code_msg, content):
     if code == SC_CLIENT_CALL_MORE:
         self.fcallstr += content
         return
     elif code == SC_CLIENT_CALL:
         self.fcallstr += content
         self.fretstr = searpc_server.call_function(self.name, self.fcallstr)
         self.fcallstr = ''
         self.send_fret()
     elif code == SC_CLIENT_MORE:
         self.send_fret()
示例#3
0
 def send(self, service, fcall_str):
     return searpc_server.call_function(service, fcall_str)
示例#4
0
 def send(self, service, fcall_str):
     return searpc_server.call_function(service, fcall_str)