def send(self, conn_id, data):
        """

        :param conn_id:
        :param data:
        :return:
        """
        proto_info = self._parse_req_head_proto_info(data)

        def work():
            self.do_send(conn_id, proto_info, data)

        self._req_queue.put(work)
        self._w_sock.send(b'1')
        return RET_OK, None
def send ( self , conn_id , data ) : proto_info = self . _parse_req_head_proto_info ( data ) def work ( ) : self . do_send ( conn_id , proto_info , data ) self . _req_queue . put ( work ) self . _w_sock . send ( b'1' ) return RET_OK , None
:param conn_id:
        :param data:
        :return: