intermediate transfer of objects
Peter Van Osta <[email protected]>
| Newsgroups | gmane.comp.gnome.orbit.general,gmane.comp.gnome.components |
|---|---|
| Organization | Union Biometrica N.V./S.A. ESO |
| Message-ID | <[email protected]> |
Hi, I got a lot of help concerning the transfer of images by way of a return value. another issue however is the intermediate transfer of objects and/or iamge data while running a function on the server side. From earlier dicussions I have learned that Bonob can be sued to notify the client of "events", so that part is covered. Another issue is to transfer the data from server to client while on the server side a process is running. When I start the acqusition process on the automated microscope, thre iamges in paralle need to be updated on the client during the process. About every 0.5 seconds an individula image is acquired and wiht larger intervals overview iamges are produced which have to be transferred to the client while the process is running. So, the cannot be transferred as return values, because the actual process will be running all the time. From what I understand, the ORB can "pump" the data into an "out" parameter and the use Bonobo to notify the client to refresh ? The "out" bloc is continuously overwritten in a loop. Will this approach work ? Is it wise to use memcpy on the server side to copy the data over and over again into the "out" sequence buffer ? Best regards, Peter Van Osta Union Biometrica N.V./S.A. European Scientific Operations (ESO) Cipalstraat 3 B-2440 Geel Belgium Tel.: +32 (0)14 570 619 Fax.: +32 (0)14 570 621 http://www.unionbio.com/ http://ourworld.compuserve.com/homepages/pvosta/cvwww.htm