Datasnap.Provider.TCustomResolver.FreeTreeData

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure FreeTreeData(Tree: TUpdateTree); virtual;

C++

virtual void __fastcall FreeTreeData(TUpdateTree* Tree);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Datasnap.Provider.pas
Datasnap.Provider.hpp
Datasnap.Provider TCustomResolver

Description

Frees the internal data maintained by a TUpdateTree.

The ApplyUpdates method wraps delta packets in a TUpdateTree object. The TUpdateTree stores the delta packet, along with information that the resolver uses when applying updates. This information varies, depending on the class of resolver.

FreeTreeData is called internally just before the resolver's TUpdateTree object is freed. As implemented in TCustomResolver, FreeTreeData does nothing. Descendants override this method if any specific action is required to free the resolver-specific information that is stored in the update tree.

See Also