(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 self.data is None:
         Util.raiseException('You must set the data with setData method', ValueError)

      with self.sentBytesLock:
         self.sentBytes = self.send()
      self.close()
def run ( self ) : if self . data is None : Util . raiseException ( 'You must set the data with setData method' , ValueError ) with self . sentBytesLock : self . sentBytes = self . send ( ) self . close ( )