I am currently working on a task which includes actions on jade agent like agent suspend , agent kill etc . Where i get jade agent name from web services . How will i get agent id or agent object from agent name?
public class DPM_MainAgent_WebService_Worker extends Agent {
AMSAgentDescription[] agents = null;
protected void setup()
{
AID aid = new AID("FirstAgent",true);
System.out.println("aid::::::::"+aid);
}
}
FirstName is my agent local name which i am able to get from webservices. I am able to get AID object. But my need is to get agent object. How can i achieve this?
Thanks