This forum has been archived. Please start a new discussion on GitHub.


How can I implement a Server, which is also a Client. I mean, it can call an operation or send some data to the Client actively.


  • marc
    marc Florida
    There is nothing special to do. You just invoke on a proxy in the server, as usual.

    For a callback example, have a look at demo/Ice/callback.
  • Thanks!

    But I don't think it's actively.

    You mean muti-threads?
  • marc
    marc Florida
    I'm not sure I understand what you mean. Ice is inherently multi-threaded. However, you can use the main thread to call operations on proxies. Requests are dispatched in threads from the thread pool, and don't require the main thread.
  • Thank you!

    I'll think more about it.