TibrvCmTransport.syncLedger()

Method

Declaration

void syncLedger()
  throws TibrvException

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 error code TibrvStatus.INVALID_ARG can indicate that the transport does not have a ledger file.

See Also

Ledger File

TibrvCmTransport()

TibrvCmTransport.getSyncLedger()