|
|
|
|||||
|
agent that subscribes to and publishes multiple topics.
We would like to implement a distributed agent architecture for a System Health Management Testbed, using the IceStorm publish-subscribe service. The distributed system would usually involve 6 - 12 agents sharing data over about a dozen topics.
Are there any examples where individual applications publish several topics and subscribe to several topics at the same time? In the IceStorm example (clock)that comes with the ice software download, both the Publisher and the Subscriber classes inherit from Application. The Application class only allows one thread.
__________________
Christian Neukom QSS Group Inc. NASA-Ames Research Center M/S 269-3 Moffett Field, CA 94035-1000 Project: Advanced Diagnostics And Prognostics Testbed http://ti.arc.nasa.gov/projects/adapt |
|
|||||
|
agent that subscribes to and publishes multiple topics
Yes, how can I create multiple instances of a publisher or subscriber in a single application. The singleton class seems to prevent that (it causes an error).
__________________
Christian Neukom QSS Group Inc. NASA-Ames Research Center M/S 269-3 Moffett Field, CA 94035-1000 Project: Advanced Diagnostics And Prognostics Testbed http://ti.arc.nasa.gov/projects/adapt |
|
||||||
|
I don't understand what multiple publishers or subscribers have to do with the Ice::Application singleton class, and why it would prevent you from doing so. What error do you get exactly?
Regardless of whether you use Ice::Application or initialize the communicator by hand, you simply subscribe to multiple topics or publish to different topics. There is no special trick here. Whether you use the main thread or create your own threads does not matter. What problem do you exactly have? Last edited by marc : 08-22-2006 at 09:12 PM. |
![]() |
| 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 |
| Multiple IP addresses | mwilson | Help Center | 1 | 11-13-2006 03:10 PM |
| Multiple Ice::CommunicatorPtrs in an application? | ctennis | Help Center | 1 | 03-21-2006 04:15 PM |
| Multiple Server Implementations? | Paul Drummond | Help Center | 7 | 03-14-2006 10:10 AM |
| Subscriber info for IceStorm topics | Nis Baggesen | Help Center | 19 | 03-31-2005 10:33 AM |
| Multiple Adapters | Jennie | Help Center | 1 | 01-25-2005 06:04 PM |