|
|
|
|||||
|
do i need the second communicator ?
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 |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can I remove a adapter from a communicator? | lkw | Help Center | 2 | 11-03-2006 07:09 AM |
| Ice 3.1: Communicator.setDefaultContext() | stephan | Help Center | 8 | 07-20-2006 04:40 PM |
| Bug in GC at Communicator::destroy() | acbell | Bug Reports | 2 | 02-24-2006 12:23 AM |
| How to name 'communicator' | code | Help Center | 3 | 06-12-2005 04:30 PM |
| Initialize the communicator? | lisiliao | Help Center | 1 | 04-19-2004 11:42 AM |