@param create_time: Epoch time value to indicate the time of creation for this file. If zero, we will automatically assign the current time @type create_time: int @param timeout: Number of milliseconds to wait for blocked open request before failing @type timeout: in
(self, filename, access_mode, open_mode, flags = 0x0000, search_attributes = 0, file_attributes = 0, create_time = 0, timeout = 0)
| 989 | PAYLOAD_STRUCT_SIZE = struct.calcsize(PAYLOAD_STRUCT_FORMAT) |
| 990 | |
| 991 | def __init__(self, filename, access_mode, open_mode, flags = 0x0000, search_attributes = 0, file_attributes = 0, create_time = 0, timeout = 0): |
| 992 | """ |
| 993 | @param create_time: Epoch time value to indicate the time of creation for this file. If zero, we will automatically assign the current time |
| 994 | @type create_time: int |
| 995 | @param timeout: Number of milliseconds to wait for blocked open request before failing |
| 996 | @type timeout: int |
| 997 | """ |
| 998 | self.filename = filename |
| 999 | self.access_mode = access_mode |
| 1000 | self.open_mode = open_mode |
| 1001 | self.flags = flags |
| 1002 | self.search_attributes = search_attributes |
| 1003 | self.file_attributes = file_attributes |
| 1004 | self.create_time = create_time or int(time.time()) |
| 1005 | self.timeout = timeout |
| 1006 | |
| 1007 | def initMessage(self, message): |
| 1008 | Payload.initMessage(self, message) |
nothing calls this directly
no outgoing calls
no test coverage detected