'@param timeout: Number of milliseconds to wait for blocked write request before failing. Must be zero for writing to regular file
@type timeout: int'

def __init__(self, fid, data_bytes, offset, write_mode=0, timeout=0):

    self.fid = fid
    self.offset = offset
    self.data_bytes = data_bytes
    self.timeout = timeout
    self.write_mode = write_mode
