You are not logged in.
Pages: 1
I can't find that http://synopse.info/fossil/info/f23a869a36
on the last build, why ?
Offline
This was indeed a wrong good idea.
I wrote this late in the night, just after having read http://www.deltics.co.nz/blog/posts/2177 and passing the last previous days in the middle of Java frameworks...
There was no need of using an interface, when all we expected to find was to make TSQLRecord.CreateCopy() method virtual.
It was not proper interface use, but interface ab-use.
Interfaces have a cost when creating an object.
So I reverted the change to another easier pattern: declare TSQLRecord.CreateCopy() as virtual, therefore allow custom copy of any TSQLRecord.
Offline
Ok ,thanks,
If we are already talking about interface , how do I register a service to be used only on the server side and not exposed to the client ?
aServer.ServiceRegister(Trt_mangr,[TypeInfo(IrtMng_1)],sicShared);
aServer.ServiceRegister(Trt_mangr,[TypeInfo(IrtMng_2)],sicShared);
IrtMng_1,IrtMng_2 are interfaces to the same Trt_mangr object
IrtMng_1 is used from the client
IrtMng_2 should be used from other units on the server only
Offline
Pages: 1