def METHOD_NAME(self, data):
    """
    Write input data into the file descriptor.
    :param data: New data from the user
    :type data: string
    """
    wait_write(self.fd)
    self.stream_out.write(data.encode('utf-8'))
    self.stream_out.flush()