(self)
Method called when you call *.start()* of the thread
Method called when you call *.start()* of the thread
Method called when you call * . start () * of the thread
def run(self):
      """ Method called when you call *.start()* of the thread """
      if len(self.target) <= 0:
         Util.raiseException('You must set the target(s) before send data', ValueError)

      while True:
         if self.doshutdown:
             break

         while self.isReady():
            data = self.popPool()
            self.send(data)

         time.sleep(self.timeout)

      self.close()
def run ( self ) : if len ( self . target ) <= 0 : Util . raiseException ( 'You must set the target(s) before send data' , ValueError ) while True : if self . doshutdown : break while self . isReady ( ) : data = self . popPool ( ) self . send ( data ) time . sleep ( self . timeout ) self . close ( )