WaitComplete¶
-
virtual void IUpdatable::WaitComplete(double timeout) = 0¶
Waits until the current transfer completes, or the timeout interval is exceeded.
- Parameters
timeout – Interval in seconds to wait for transfer complete. Negative value means infinite.
- Throws
CInvalidArgumentException
– Invalid timeout value (NaN).COutOfResourcesException
– No resources available to wait for transfer completion or file too large for this updatable.CTimeoutException
– Timeout interval exceeded while waiting for transfer complete.CReadErrorException
– Error while reading updatable contents (see exception message for details).CWriteErrorException
– Error while writing updatable contents (see exception message for details).CChecksumErrorException
– New updatable contents rejected due to invalid checksum.CCommunicationErrorException
– Protocol error.CConnectionLostException
– Connection to controller lost.CRebootedException
– Controller has been rebooted since this object reference was retrieved, invalidating this reference.CObjectDestroyedException
– Object is destroyed.
- Remarks
If there is no transfer active, this method returns immediately. Execution requires one subscription resource.