stella.rmi
Interface BuildingControlling

All Superinterfaces:
ListenerControlling, Remote, ShelterControlling
All Known Implementing Classes:
EnvironmentMaster

public interface BuildingControlling
extends ShelterControlling

This interface provides the methods required for remote building control. Additionally to the ListenerControlling methods, these are:

See Also:
ListenerControlling

Method Summary
 boolean closeLeft()
          Closes the left roof.
 boolean closeRight()
          Closes the right roof.
 boolean openLeft()
          Opens the left roof.
 boolean openRight()
          Opens the right roof.
 boolean powerOff()
          Powers the roof down.
 boolean powerOn()
          Powers the roof up.
 void shutdownWatchdogs()
          Shuts down watchdog actions.
 
Methods inherited from interface stella.rmi.ShelterControlling
close, open, quit, setDirectClose, setDirectOpen
 
Methods inherited from interface stella.rmi.ListenerControlling
automatic, external, getStatus, initialize, manual, park, reset, setPassive
 

Method Detail

openLeft

boolean openLeft()
                 throws RemoteException
Opens the left roof. May only be available in manual mode. The roof should be opened regardless of its current position. This method may block until the roof is open.

Returns:
True if opening was successful.
Throws:
RemoteException

openRight

boolean openRight()
                  throws RemoteException
Opens the right roof. May only be available in manual mode. The roof should be opened regardless of its current position. This method may block until the roof is open.

Returns:
True if opening was successful.
Throws:
RemoteException

closeLeft

boolean closeLeft()
                  throws RemoteException
Closes the left roof. May only be available in manual mode. The roof should be closed regardless of its current position. This method may block until the roof is closed.

Returns:
True if closing was successful.
Throws:
RemoteException

closeRight

boolean closeRight()
                   throws RemoteException
Closes the right roof. May only be available in manual mode. The roof should be closed regardless of its current position. This method may block until the roof is closed.

Returns:
True if closing was successful.
Throws:
RemoteException

powerOn

boolean powerOn()
                throws RemoteException
Powers the roof up. May only be available in manual mode.

Returns:
True if power to the roof could be established.
Throws:
RemoteException

powerOff

boolean powerOff()
                 throws RemoteException
Powers the roof down. May only be available in manual mode.

Returns:
True if power to the roof could be cut.
Throws:
RemoteException

shutdownWatchdogs

void shutdownWatchdogs()
                       throws RemoteException
Shuts down watchdog actions.

Throws:
RemoteException