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
Last revision Both sides next revision
sajas [2020/11/27 17:29]
hlc removed
sajas [2020/12/02 14:15]
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.txt ยท Last modified: 2020/12/02 14:16 by hlc