自娱自乐
Agent JADE
//注册
DFAgentDescription dfd=new DFAgentDescription();
dfd.setName(getAID());
ServiceDescription sd=new ServiceDescription();
sd.setType("book-selling");
sd.setName("JADE-book-trading");
dfd.addServices(sd);
设定参数:
运行界面:
添加书目:
控制台: