
Originally Posted by
michi
A common way of dealing with this type of issue is to use the observer pattern: have the client register an observer callback object; when the scene graph changes, the server can invoke operations on the callback object in the client to notify the client of a change.
Another option would be to use IceStorm to distribute events to clients that contain the relevant information.
Cheers,
Michi.
I've following the discussion, and i have a question around the observer pattern. I've a little problem with it. In fact when the server try to invoke an operation on the callback, if on the client side the user decide to debug its application and setting a break point on the callback, the server becomes blocked. So all other operations on the server side are blocked.
So I would like to know the better way to avoid this problem.
Thank you
Joël
Phd Student
- University of Lille 1 (France)
- I work on distributed simulation (i'm ask my self if i should use Ice has a backend)