I want to distribute server compute result datas to all clients. How server initiatively send data to client, and client can responce to it, but not by callback proxy method?
|
|
I want to distribute server compute result datas to all clients. How server initiatively send data to client, and client can responce to it, but not by callback proxy method?
Last edited by ouloba; 11-25-2004 at 10:21 PM.
In order for your server to send a request to a client, you must implement an Ice object in your client (which makes your client also a server from the Ice perspective), pass a proxy to this Ice object to your server, and have the server invoke on this proxy. This is commonly referred to as callback, but in fact it's just a regular call. There is no other way for the server to invoke an operation on a client.
How to know which client to invoke server function, and the client's remote address(IP and Port).
Pass a proxy from the client to the server, on which the server invokes.
There are currently 1 users browsing this thread. (0 members and 1 guests)