TibrvCmTransport::syncLedger()
Method
Declaration
TibrvStatus syncLedger
();
Purpose
Synchronize the ledger to its storage medium.
Remarks
When this method returns, the transport’s current state is safely stored in the ledger file.
Transports that use synchronous ledger files need not call this method, since the current state is automatically written to the storage medium before returning. Transports that use process-based ledger storage need not call this method, since they have no ledger file.
Errors
The status code TIBRV_INVALID_ARG indicates that the transport does not have a ledger file.