fr.lifl.magique.util
Class AgentPool
java.lang.Object
fr.lifl.magique.util.AgentPool
- public class AgentPool
- extends java.lang.Object
manages a pool of agent for a given service, these agents will be
sollicited by their boss one by one to perform a given service
their are specialized for. Thus boss burden is lighten for this
skill.
Constructor Summary |
AgentPool(Agent boss,
java.lang.String skillName,
java.lang.String serviceName,
int sizeOfPool,
java.lang.String[] hosts)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AgentPool
public AgentPool(Agent boss,
java.lang.String skillName,
java.lang.String serviceName,
int sizeOfPool,
java.lang.String[] hosts)
processRequest
public void processRequest(Request r)