User Tools

Site Tools


sajas

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
sajas [2020/11/27 15:20]
hlc [Current limitations]
sajas [2020/12/02 13:16] (current)
hlc [MASSim2Dev]
Line 46: Line 46:
  
 The [[MASSim2Dev|MASSim2Dev]] tool performs the needed changes automatically. The [[MASSim2Dev|MASSim2Dev]] tool performs the needed changes automatically.
 +
 +An additional change to take into account is that although the import of the ''jade.core.AID'' class should not, in general, be redirected to ''sajas.core.AID'', any direct instantiation of ''AID'' should be made in the SAJaS' version of this class (which extends JADE's one). Example:
 +
 +<code>
 +import sajas.core.Agent;
 +import jade.core.AID;
 +
 +...
 +
 +ACLMessage m = new ACLMessage(ACLMessage.REQUEST);
 +m.addReceiver(new sajas.core.AID(name, false);
 +...
 +
 +</code>
  
  
sajas.1606490416.txt.gz ยท Last modified: 2020/11/27 15:20 by hlc