(self)
执行协议
执行协议
执行协议
def _run(self):
        """执行协议
        """
        while True:
#             msg = self.sock.recv()
            try:
                pyobj = self.sock.recv_pyobj()
                tablename,sql = pyobj
                excuteSQL(tablename, sql)
            except Exception,e:
                log.err(_stuff=e,_why=traceback.format_exc())
def _run ( self ) : while True : #             msg = self.sock.recv() try : pyobj = self . sock . recv_pyobj ( ) tablename , sql = pyobj excuteSQL ( tablename , sql ) except Exception , e : log . err ( _stuff = e , _why = traceback . format_exc ( ) )