agentland.device
Interface AbstractDeviceManager
- All Superinterfaces:
- Agent, Device, DeviceManager, Good, Managed, MultiDevice, Remote, Spy
- All Known Subinterfaces:
- DrapesManager, LightManager, ProjectorManager
- All Known Implementing Classes:
- AbstractDeviceManagerAgent
- public interface AbstractDeviceManager
- extends DeviceManager
An implementation of some of the common functinality for all device
managers
- See Also:
DeviceManager
Method Summary |
void |
addSecretDevice(Secret s)
Makes it possible to add new devices by secret -- in case we
were spying on the catalog for new agents coming to life. |
Collection |
getDeviceIDs(String name)
Returns a vector of agentID's of all agents managed by this
manager that can be referenced by the name |
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.util.Spy |
tell |
addSecretDevice
public void addSecretDevice(Secret s)
throws RemoteException
- Makes it possible to add new devices by secret -- in case we
were spying on the catalog for new agents coming to life.
- Parameters:
s
- a Secret
with an AgentID in details
getDeviceIDs
public Collection getDeviceIDs(String name)
throws RemoteException
- Returns a vector of agentID's of all agents managed by this
manager that can be referenced by the name