(self, data)
Set the data to send

      :param data: the data to send
Set the data to send
Set the data to send
def addData(self, data):
      """ Set the data to send

      :param data: the data to send

      """
      if self.poolLength() >= self.poolSize:
         logging.warning('the send pool is full, consider increasing the pool size or decreasing the timeout !')
         return

      with self.sendPoolLock:
         self.sendPool.append(data)
def addData ( self , data ) : if self . poolLength ( ) >= self . poolSize : logging . warning ( 'the send pool is full, consider increasing the pool size or decreasing the timeout !' ) return with self . sendPoolLock : self . sendPool . append ( data )