TStorageServerClassClient = class publ ic procedure SetValue(Value: Integer); function GetValue: Integer; function ToString: string;

Notice that compiling this class produces the following warning, unless you manually mark the method as override:

Method 'ToString' hides virtual method of base type 'TObject'

The goal of this example is to figure out what happens when multiple client applications use the same server. The behavior of a DataSnap 2009 server in such a case depends on the value of the LifeCycle string property of the DSServerClass component being used.

Was this article helpful?

0 0
Project Management Made Easy

Project Management Made Easy

What you need to know about… Project Management Made Easy! Project management consists of more than just a large building project and can encompass small projects as well. No matter what the size of your project, you need to have some sort of project management. How you manage your project has everything to do with its outcome.

Get My Free Ebook

Post a comment