IHYAutoUpdateService
From RemObjects Software
This is a Hydra Architecture entry
Feel free to add your notes to this topic below.
Overview
The IHYAutoUpdateService interface defines the base set of functionality all auto update services need to support, in order to be accessible by the THYAutoUpdateClient component.
File
HydraAutoUpdate_Intf
Declaration
IHYAutoUpdateService = interface;
Hierarchy
- IInterface
- IHYAutoUpdateService
Methods
| | |
|---|---|
| GetFileData | Used to download a part of an update present on the server.
The UpdateInfo parameter identifies to which update a client is referring. The parameters Count and Offset indicate how many bytes and from which offset to start reading. The out parameter Data returns the actual data. Finally, the method returns the number of bytes read. |
| GetUpdatesInfo | Used to read the list of updates the server wants the client to download.
The UpdateID parameter can be used as you wish and will be returned by the event THYAutoUpdateService.OnGetUpdatesInfo. |
| VerifyUpdateStatus | Returns the THYUpdateStatus value that the client will use to determine if there are any updates available on the server.
This value returned is, by default, usNeedsUpdate unless the developer modifies it through the use of the THYAutoUpdateService.OnVerifyUpdateStatus event. |
See Also
Lists — Glossary — Features — How To — Components — Tools — Samples — Articles — Architecture — Issues
Categories: Text | Hydra | Architecture | Interface | Delphi
