|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.almende.eve.agent.Agent
com.almende.eve.agent.example.ManagementAgent
public class ManagementAgent
Constructor Summary | |
---|---|
ManagementAgent()
|
Method Summary | |
---|---|
List<String> |
create(String id,
String type)
Create a new agent. |
void |
delete(String id)
Delete an agent |
boolean |
exists(String id)
Test if an agent exists |
List<String> |
get(String id)
Retrieve an agents urls. |
String |
getDescription()
Retrieve a description of the agents functionality |
String |
getVersion()
Retrieve the agents version number |
Methods inherited from class com.almende.eve.agent.Agent |
---|
clear, create, createAgentProxy, delete, destroy, finalize, getAgentFactory, getContext, getId, getMethods, getScheduler, getState, getType, getUrls, init, onSubscribe, onTrigger, onUnsubscribe, send, send, send, send, sendAsync, sendAsync, setAgentFactory, setState, subscribe, toString, trigger, unsubscribe, unsubscribe |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ManagementAgent()
Method Detail |
---|
public List<String> create(String id, String type) throws Exception
id
- type
-
Exception
public void delete(String id) throws Exception
id
-
Exception
public List<String> get(String id) throws Exception
id
-
Exception
public boolean exists(String id) throws Exception
id
-
Exception
public String getDescription()
AgentInterface
getDescription
in interface AgentInterface
getDescription
in class Agent
public String getVersion()
AgentInterface
getVersion
in interface AgentInterface
getVersion
in class Agent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |