|
||||||||||
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.log.LogAgent
public class LogAgent
Constructor Summary | |
---|---|
LogAgent()
|
Method Summary | |
---|---|
void |
cancelTimeToLive()
Remove existing time to live |
String |
getDescription()
Retrieve a description of the agents functionality |
List<Log> |
getLogs(Long since)
|
String |
getVersion()
Retrieve the agents version number |
void |
killMe()
Delete the log agent. |
void |
log(Log log)
|
void |
setTimeToLive(long interval)
Set a time-to-live for the LogAgent. |
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 LogAgent()
Method Detail |
---|
public void log(Log log)
public List<Log> getLogs(Long since) throws Exception
Exception
public void cancelTimeToLive()
public void setTimeToLive(long interval) throws Exception
interval
- interval in milliseconds
Exception
public void killMe() throws Exception
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 |