stella.rmi
Interface DomeControlling

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

public interface DomeControlling
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 closeHatch()
          Closes the left roof.
 boolean closeSlit()
          Closes the right roof.
 boolean followDome(double ra, double de)
          Follows this sky position until a stop or move home or a new follow has been sent.
 boolean followSun()
          Follows the anti-solar azimuth until a stop or move home or a new follow has been sent.
 boolean homeDome()
          Moves dome to home position
 boolean moveDome(double azdeg)
          Move the dome to the indicated position and stops there
 boolean openHatch()
          Opens the left roof.
 boolean openSlit()
          Opens the right roof.
 boolean powerOff()
          Powers the roof down.
 boolean powerOn()
          Powers the roof up.
 boolean stopDome()
          Stops a moving dome.
 
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

openHatch

boolean openHatch()
                  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

openSlit

boolean openSlit()
                 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

closeHatch

boolean closeHatch()
                   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

closeSlit

boolean closeSlit()
                  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

stopDome

boolean stopDome()
                 throws RemoteException
Stops a moving dome.

Throws:
RemoteException

homeDome

boolean homeDome()
                 throws RemoteException
Moves dome to home position

Throws:
RemoteException

moveDome

boolean moveDome(double azdeg)
                 throws RemoteException
Move the dome to the indicated position and stops there

Throws:
RemoteException

followDome

boolean followDome(double ra,
                   double de)
                   throws RemoteException
Follows this sky position until a stop or move home or a new follow has been sent.

Throws:
RemoteException

followSun

boolean followSun()
                  throws RemoteException
Follows the anti-solar azimuth until a stop or move home or a new follow has been sent.

Throws:
RemoteException