agentland.device.display
Interface ProjectorManager
- All Superinterfaces:
- AbstractDeviceManager, Agent, Connectable, Device, DeviceManager, DisplayDevice, Good, Managed, MultiDevice, Projector, Remote, Spy
- All Known Implementing Classes:
- ProjectorManagerAgent
- public interface ProjectorManager
- extends AbstractDeviceManager, Projector
ProjectorManager
manages several ProjectorAgent
s.
- See Also:
AbstractDeviceManager
,
Projector
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 |
turnOn
public boolean turnOn(String name)
throws RemoteException
- Turn on the projector with the given name.
- Parameters:
name
- the name of the projector- Returns:
true
if successful- Throws:
RemoteException
- if an error occurs
turnOff
public boolean turnOff(String name)
throws RemoteException
- Turn off the projector with the given name.
- Parameters:
name
- the name of the projector- Returns:
true
if successful- Throws:
RemoteException
- if an error occurs
inputVideo
public boolean inputVideo()
throws RemoteException
- Switch all the projectors to video input.
- Specified by:
inputVideo
in interface Projector
- Returns:
true
if successful- Throws:
RemoteException
- if an error occurs
inputRGB1
public boolean inputRGB1()
throws RemoteException
- Switch all the projectors to RGB1 input.
- Specified by:
inputRGB1
in interface Projector
- Returns:
true
if successful- Throws:
RemoteException
- if an error occurs
inputRGB2
public boolean inputRGB2()
throws RemoteException
- Switch all the projectors to RGB2 input.
- Specified by:
inputRGB2
in interface Projector
- Returns:
true
if successful- Throws:
RemoteException
- if an error occurs
turnOn
public boolean turnOn()
throws RemoteException
- Specified by:
turnOn
in interface DisplayDevice
turnOff
public boolean turnOff()
throws RemoteException
- Specified by:
turnOff
in interface DisplayDevice
inputVideo
public boolean inputVideo(String name)
throws RemoteException
inputRGB1
public boolean inputRGB1(String name)
throws RemoteException
inputRGB2
public boolean inputRGB2(String name)
throws RemoteException
switchTo
public boolean switchTo(String name,
String channel)
throws RemoteException
- Switch the named projector to the given channel.
- Parameters:
name
- the name of the projectorchannel
- the channel to switch to- Returns:
true
if successful- Throws:
RemoteException
- if an error occurs