Archived
This forum has been archived. Please start a new discussion on GitHub.
Calling methods of a client from the server
in Help Center
Does anyone know a simple way to call a method in a class of a client? More precisely, I'd like the server to call several clients' Update() function, but after browsing through the manual I still have no idea how to do it.
Thanks in advance,
Baloo
Thanks in advance,
Baloo
0
Comments
-
Your client has to implement an Ice object with such an update method. By doing so, your client also becomes a server (from the Ice perspective). You can then pass a proxy to this Ice object to the server, and the server calls the update method on this proxy. For an example, have a look at demo/Ice/callback.0
-
Thanks. I should've looked at the demos first0