public void initAgents(ArrayList machineAgentArray) { fUGeneralStrategy = new UBaseAgent("su", "supasswd", "Super User", 0); fServer.appendStrategy(fUGeneralStrategy); fCProtocol = fUGeneralStrategy.getUmcp(); fCommandHashMap = fCProtocol.getCommandHashMap(); Iterator iter = machineAgentArray.iterator(); while (iter.hasNext()) { fServer.appendStrategy((UBaseAgent) iter.next()); } }