Writing /home/webuser/www.agentscape.org/agentscape-wiki/data/cache/0/0dd4f1b1dd5493e6a492d5fae63fa624.i failed
Unable to save cache file. Hint: disk full; file permissions; safe_mode setting.
Writing /home/webuser/www.agentscape.org/agentscape-wiki/data/cache/0/0dd4f1b1dd5493e6a492d5fae63fa624.xhtml failed

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

development:service:directoryservice [2013/10/29 11:07]
michel [Query Syntax]
development:service:directoryservice [2013/10/29 11:07] (current)
michel [Agent registering itself]
Line 24: Line 24:
 DirectoryService ds = getServiceBroker().bind(DirectoryService.class); DirectoryService ds = getServiceBroker().bind(DirectoryService.class);
 ds.createRecord(id); ds.createRecord(id);
-ds.addEntry("Name","TestAgent"); +ds.addEntry(id, "Name","TestAgent"); 
-ds.addEntry("Age","35"); +ds.addEntry(id, "Age","35"); 
-ds.addEntry("Group","TestGroup");+ds.addEntry(id, "Group","TestGroup");
 </code> </code>
  
development/service/directoryservice.txt · Last modified: 2013/10/29 11:07 by michel
[unknown link type]Back to top