com.agentfactory.service.ams
Class LocalAgentDescription

java.lang.Object
  extended by com.agentfactory.service.ams.LocalAgentDescription
All Implemented Interfaces:
AgentDescription

public class LocalAgentDescription
extends java.lang.Object
implements AgentDescription

Concrete Implementation of the AgentDescription interface for agents that are executing locally on the same AP as the AMS.


Constructor Summary
LocalAgentDescription(Agent agent)
          Creates a new instance of LocalAgentDescription
 
Method Summary
 void activate()
           
 AgentID getName()
           
 int getState()
           
 boolean isActive()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalAgentDescription

public LocalAgentDescription(Agent agent)
Creates a new instance of LocalAgentDescription

Method Detail

getName

public AgentID getName()
Specified by:
getName in interface AgentDescription

getState

public int getState()
Specified by:
getState in interface AgentDescription

isActive

public boolean isActive()
Specified by:
isActive in interface AgentDescription

activate

public void activate()
Specified by:
activate in interface AgentDescription