|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.rmi.server.RemoteObject | +--java.rmi.server.RemoteServer | +--java.rmi.server.UnicastRemoteObject | +--metaglue.AgentAgent | +--agentland.util.GoodAgent | +--agentland.resource.ManagedAgent | +--agentland.device.MuxWebAgent
Inner classes inherited from class metaglue.AgentAgent |
AgentAgent.Attribute |
Fields inherited from class agentland.resource.ManagedAgent |
rm, society |
Fields inherited from class agentland.util.GoodAgent |
alert, notifier |
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Fields inherited from interface metaglue.Agent |
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING |
Constructor Summary | |
MuxWebAgent()
|
Method Summary | |
protected String |
createOptions(Vector v)
this method takes a vector of strings and returns a string with HTML options (where values are consecutive numbers starting at 1) |
String |
webCall(Hashtable h)
webCall handles the web interface for the Cross Point
Mux. |
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 java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface agentland.resource.Managed |
getNeed, replace, replace, resources, yank, yank |
Methods inherited from interface agentland.util.Good |
getHistory, getHistoryElement, resetHistory |
Methods inherited from interface metaglue.Agent |
addMonitor, alive, getAgentID, getMetaglueAgentID, shutdown, startup, whereAreYou |
Methods inherited from interface agentland.util.Spy |
tell |
Constructor Detail |
public MuxWebAgent() throws RemoteException
Method Detail |
public String webCall(Hashtable h) throws RemoteException
webCall
handles the web interface for the Cross Point
Mux. This can easily be changed to work with other types of muxes
by simply changing the relies on line and including an agent name
in the hash table. Mux input and output names are stored in a
Persistent Map and are unique for a particular Agent IDwebCall
in interface WebInterfaceable
h
- a Hashtable
containing at least a society
and catalog @return a String
value which is an
HTML page containing pull down menus for inputs and outputsprotected String createOptions(Vector v)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |