Home Help Center

Calling methods of a client from the server

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,



  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    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.
  • BalooBaloo Member
    Thanks. I should've looked at the demos first :)
Sign In or Register to comment.