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/12/02 13:08]
hlc [MASSim2Dev]
sajas [2020/12/02 13:16] (current)
hlc [MASSim2Dev]
Line 47: Line 47:
 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 the AID class should be made in the sajas' version of this class (which extends JADE's one).+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.1606914538.txt.gz · Last modified: 2020/12/02 13:08 by hlc