Archived
This forum has been archived. Please start a new discussion on GitHub.
Client&Server
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.
0
Comments
-
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.0 -
Thanks!
But I don't think it's actively.
You mean muti-threads?0 -
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.0
-
Thank you!
I'll think more about it.0