Annex C (normative) File Transfer ToC Previous Next

C.4 Temporary File Transfer ToC Previous Next

C.4.5 CloseAndCommit ToC Previous Next

CloseAndCommit is used to apply the content of the written file and to delete the temporary file after the completion of the transaction.

Signature

CloseAndCommit(
[in]  UInt32 		fileHandle
[out] NodeId 		completionStateMachine
);
Argument Description
fileHandle The fileHandle used to write the file.
completionStateMachine If the processing of the file is completed asynchronous, the parameter returns the NodeId of the corresponding FileTransferStateMachineType Object.
If the processing of the file is already completed, the parameter is null.
If a FileTransferStateMachineType Object NodeId is returned, the processing is in progress until the TransferState changed to Idle.

Method Result Codes (defined in Call Service)

Result Code Description
Bad_UserAccessDenied See OPC 10000-4 for a general description.

Table C.16 specifies the AddressSpace representation for the CloseAndCommit Method.

Table C.16 – CloseAndCommit Method AddressSpace Definition

Attribute Value
BrowseName CloseAndCommit
References NodeClass BrowseName DataType TypeDefinition ModellingRule
HasProperty Variable InputArguments Argument[] PropertyType Mandatory
HasProperty Variable OutputArguments Argument[] PropertyType Mandatory

Previous Next