RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSQLResolver.InitTreeData Method

Initializes the internal data maintained by TUpdateTree.

Pascal
procedure InitTreeData(Tree: TUpdateTree); override;
C++
virtual __fastcall InitTreeData(TUpdateTree Tree);

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. 

InitTreeData is called internally when the resolver's TUpdateTree object is created. As implemented in TCustomResolver, InitTreeData does nothing. Descendants override this method to store any class-specific information that they use when applying updates. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!