문제

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 ...

올바른 솔루션이 없습니다

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top