Hi,
My application has to work as a server and as a client for another server
at the same time. Although these parts (server and client) are rather
independent there were some arguments to implement them
in the same process.
The first (server) part is Ice::Service and the second (client)
part is Ice::Thread. The structure of the second part is simple:
for(;

{
sleep(some_time);
results = do_smth();
ice_objectPrx->report(results);
}
Can I use the communicator from the first part to construct 'ice_objectPrx' ?
Or I need to create new one (as I did) ?
If both possibilities are available, which are the better ?
Could you give me an advice on which properties of my application should
I pay attention to make the correct choice between these two alternatives ?
--
Cheers, Nikolai