YPService simple example
Aaron Helsinger
ahelsing at bbn.com
Thu Aug 2 11:18:21 EDT 2007
If you are having trouble with the Plugin concept, you should go back to
the basic tutorials and slides
http://tutorials.cougaar.org/
The pizza app is a fairly simple explanation of Service Discovery. You
should be able to use it as a basis to do what you want -- I would
suggest modifying this code to do what you need.
Details on the data flow in the Pizza application are here:
http://tutorials.cougaar.org/pizza/flow.html
It describes what the Pizza SDClientPlugin is doing -- hopefully enough
that you can avoid trying to fully understand the SimpleSDClientPlugin
You may simply be able to extend the pizza party app to do your thing.
Try looking at these docs:
http://tutorials.cougaar.org/pizza/extending.html
The slides that walk you through the configuration files of the Pizza
app should help too:
http://cougaar.org/docman/view.php/5/169/pizza-overview.ppt
Aaron
Einhuf wrote:
> Hello together,
> currently I´m writing on my diploma thesis and I want/(have to) to use
> cougaar as my agent platform for some use case implementations. I am
> totally new to cougaar and spent a day to browse thought the
> architecture and developers guide to get an idea of the framework. For
> my purpose I only need the possibility to send messages to other
> agents and to find them by a service-description and yellow page
> service. All other stuff will be done by an external state machine
> (role concept).
>
> Today I tried to do the pizza example, but I don´t get the way how to
> use the YPService. Now I wanted to ask, if anybody has a tutorial only
> about Service Discovery on a simpler level. What I need is, that an
> agent registers like "I am ServiceType A" and others can search for
> them by saying "I search for ServiceType A" and gets a collection of
> AgentIDs. Afterwards, I want to talk to these agents to negotiate
> about an service exection. That´s all, but I can´t extract this simple
> situation out of the pizza tutorial example. I am now at the
> SimpleSDClientPlugin and I can´t follow the process. Its really
> confusing to me, what is happening in this example. I am not firm to
> the plugin concept and I really lost the thread now, trying to
> understand what happens. Can anybody help me or send code to me, where
> service discovery is simpler?
> I will try to go on tomorrow, but maybe can anyone help me with
> easier code examples without all pizza application specific features.
> Thanks a lot, best regards from Munich, Germany,
> Thomas
> <http://dict.leo.org/ende?lp=ende&p=eL4jU.&search=architecture>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Cougaar-developers mailing list
> Cougaar-developers at cougaar.org
> http://cougaar.org/mailman/listinfo/cougaar-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cougaar.org/pipermail/cougaar-developers/attachments/20070802/3c4a12b9/attachment.html
More information about the Cougaar-developers
mailing list