|
|||||||||
| 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.DeviceAgent
|
+--agentland.device.DummyDeviceAgent
A dummy device, whose state can be the color red or blue.
DeviceAgent,
DummyDevice, Serialized Form| Inner classes inherited from class metaglue.AgentAgent |
AgentAgent.Attribute |
| Field Summary | |
static int |
BLUE
|
static int |
RED
|
| Fields inherited from class agentland.device.DeviceAgent |
defaultState, fName, names, states |
| 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 | |
DummyDeviceAgent()
Creates a new DummyDeviceAgent instance. |
|
| Method Summary | |
boolean |
changeColor()
Toggle the color. |
| Methods inherited from class agentland.device.DeviceAgent |
addName, createStateChangeNotification, ensureState, getDefaultNames, getDefaultStateName, getName, getNames, getState, getState, getStateNames, hasName, quietException, resetAllStates, resetName, resetState, resetState, setDefaultStateName, setName, setState, throwException, updateState, updateState, updateState, updateState, updateState, updateState, updateState, updateState |
| 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.device.Device |
addName, getName, getNames, getState, getState, getStateNames, hasName, resetAllStates, resetName, resetState, resetState, setName, setState |
| 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 |
| Field Detail |
public static final int RED
public static final int BLUE
| Constructor Detail |
public DummyDeviceAgent()
throws RemoteException
DummyDeviceAgent instance.RemoteException - if an error occurs| Method Detail |
public boolean changeColor()
throws RemoteException
changeColor in interface DummyDeviceRemoteException - if an error occurs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||