agentland.text
Class TextOutputAgent
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--metaglue.AgentAgent
|
+--agentland.util.GoodAgent
|
+--agentland.resource.ManagedAgent
|
+--agentland.text.TextOutputAgent
- All Implemented Interfaces:
- Agent, Good, Managed, MetagluePrimitives, Remote, Serializable, Spy, TextOutput
- Direct Known Subclasses:
- HTMLTextOutputAgent
- public class TextOutputAgent
- extends ManagedAgent
- implements TextOutput
An agent that does simple text output notifications. This works
with the resource manager so we can decouple output from the agent
itself.
Subclasses of this agent should exist to perform the text output
using speech, web, email, lamp morsers, what have you.
- See Also:
AgentAgent
,
TextOutput
, Serialized Form
Methods inherited from class agentland.resource.ManagedAgent |
connect, getAlert, getNeed, isAvailable, isAvailable, reliesOn, reliesOn, replace, replace, request, request, request, requestAgent, requestAgent, resources, resourcesByAgentID, setNeed, tiedTo, yank, yank, yank |
Methods inherited from class agentland.util.GoodAgent |
addSpy, addSpy, alert, alertString, beep, error, getHistory, getHistoryElement, getPersistentMap, log, notify, removeSpy, removeSpy, resetHistory, safeRely, safeRely, safeRely, setNiceLogName, tell |
Methods inherited from class metaglue.AgentAgent |
addMonitor, alive, buildEHAFor, defrost, defrostAll, defrostBoolean, defrostInt, defrostString, fixAttribute, fixAttribute, freeze, freeze, freeze, freezeAll, freezeVar, getAgentID, getAttribute, getCatalog, getCatalogID, getDesignation, getFrozenVariables, getLogLevel, getMetaglueAgent, getMetaglueAgentID, getOccupation, getOldLogs, getProperties, getProxyHandlerClass, getSociety, installAPH, log, log, lookupClass, reliesOn, reliesOnSynch, removeAPHFromCatalog, removeFrozen, setFreezeName, setLogLevel, setLogName, shutdown, startAgent, startAgentOn, startAgentOn, startup, status, tiedTo, tiedTo, tiedTo, tiedTo, tieToDesignation, toString, whereAreYou |
Methods inherited from interface agentland.util.Spy |
tell |
TextOutputAgent
public TextOutputAgent()
throws RemoteException
sendTextNotification
public void sendTextNotification(String text)
throws RemoteException
outputText
public void outputText(String text)
throws RemoteException
- Specified by:
outputText
in interface TextOutput
outputText
public void outputText(TextObject tObject)
throws RemoteException
- Specified by:
outputText
in interface TextOutput