def writeSExpr(self, l):
     self.writeOut(sexpr.sexpr2str(l))
示例#2
0
 def stringReceived(self, string):
     expr = str2sexpr(string)
     for command in expr:
         result = self.app.run(command)
         if result:
             self.sendString(sexpr2str(result))
示例#3
0
 def stringReceived(self, string):
   expr = str2sexpr(string)
   for command in expr:
     result = self.app.run(command)
     if result:
       self.sendString(sexpr2str(result))
示例#4
0
 def sendToRedirect(self, l):
     self.client.send(sexpr.sexpr2str(l))
示例#5
0
 def writeSExpr(self, l):
     self.writeOut(sexpr.sexpr2str(l))
示例#6
0
 def sendToRedirect(self, l):
     self.client.send(sexpr.sexpr2str(l))