IHYAutoUpdateService

From RemObjects Software

Jump to: navigation, search

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

Method
Description
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


Product: RemObjects Hydra
Current version: Hydra 3.0

ListsGlossaryFeaturesHow ToComponentsToolsSamplesArticlesArchitectureIssues

Personal tools