Jade - how to find agent Id and controller Id from agent name
<p>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?</p>

<pre><code>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);

    }

}
</code></pre>

<p>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?</p>

<p>Thanks</p>