com.almende.eve.agent.example
Class EchoAgent

java.lang.Object
  extended by com.almende.eve.agent.Agent
      extended by com.almende.eve.agent.example.EchoAgent
All Implemented Interfaces:
AgentInterface

public class EchoAgent
extends Agent


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

EchoAgent

public EchoAgent()
Method Detail

ping

public Object ping(Object message)
            throws Exception
Throws:
Exception

getVersion

public String getVersion()
Description copied from interface: AgentInterface
Retrieve the agents version number

Specified by:
getVersion in interface AgentInterface
Specified by:
getVersion in class Agent
Returns:
version

getDescription

public String getDescription()
Description copied from interface: AgentInterface
Retrieve a description of the agents functionality

Specified by:
getDescription in interface AgentInterface
Specified by:
getDescription in class Agent
Returns:
description


Copyright © 2013 Almende BV. All Rights Reserved.