def sendCloseRequest(self): request = DeviceCloseRequestPDU( self.deviceID, self.fileID, self.requestID, 0 ) self.sendIORequest(request)
def parseDeviceCloseRequest(self, deviceId: int, fileId: int, completionId: int, minorFunction: int, stream: BytesIO) -> DeviceCloseRequestPDU: return DeviceCloseRequestPDU(deviceId, fileId, completionId, minorFunction)
def parseDeviceCloseRequest(self, deviceID: int, fileID: int, completionID: int, minorFunction: int, stream: BytesIO) -> DeviceCloseRequestPDU: stream.read(32) # Padding return DeviceCloseRequestPDU(deviceID, fileID, completionID, minorFunction)