|
||||||||||
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.EchoAgent
public class EchoAgent
Constructor Summary | |
---|---|
EchoAgent()
|
Method Summary | |
---|---|
String |
getDescription()
Retrieve a description of the agents functionality |
String |
getVersion()
Retrieve the agents version number |
Object |
ping(Object message)
|
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 EchoAgent()
Method Detail |
---|
public Object ping(Object message) throws Exception
Exception
public String getVersion()
AgentInterface
getVersion
in interface AgentInterface
getVersion
in class Agent
public String getDescription()
AgentInterface
getDescription
in interface AgentInterface
getDescription
in class Agent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |