Domanda

I have developed a datasnap server in Delphi XE5.

one client connect to Server.

one client fire a method (lets say Server.ComputeTables ).

the Server is doing some long computation in the method ComputeTables. 1,2,5 xx minutes.

how to send feedback to the client? (a real feedback not ... "the server is doing something ... please wait").

like

server passed step 1

server passed step 2

server passed step 3

etc ...

Nessuna soluzione corretta

Altri suggerimenti

DataSnap supports callbacks. Pavel Glowacki has written nice tutorials about different aspects of DataSnap. Callbacks are explained in episode 11 of his Delphi Labs series.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top