JSci.astro.telescope
Class LX200DebugServer
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
JSci.astro.telescope.LX200DebugServer
- All Implemented Interfaces:
- java.io.Serializable, java.rmi.Remote, LX200Remote
public final class LX200DebugServer
- extends java.rmi.server.UnicastRemoteObject
- implements LX200Remote
- See Also:
- Serialized Form
Fields inherited from class java.rmi.server.RemoteObject |
ref |
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 |
LX200DebugServer
public LX200DebugServer()
throws java.rmi.RemoteException
- Constructs a telescope debug server.
- Throws:
java.rmi.RemoteException
main
public static void main(java.lang.String[] arg)
setFocusRate
public void setFocusRate(int rate)
throws java.io.IOException,
java.rmi.RemoteException
- Specified by:
setFocusRate
in interface LX200Remote
- Throws:
java.io.IOException
java.rmi.RemoteException
startFocus
public void startFocus(int direction)
throws java.io.IOException,
java.rmi.RemoteException
- Specified by:
startFocus
in interface LX200Remote
- Throws:
java.io.IOException
java.rmi.RemoteException
stopFocus
public void stopFocus()
throws java.io.IOException,
java.rmi.RemoteException
- Specified by:
stopFocus
in interface LX200Remote
- Throws:
java.io.IOException
java.rmi.RemoteException
setSlewRate
public void setSlewRate(int rate)
throws java.io.IOException,
java.rmi.RemoteException
- Specified by:
setSlewRate
in interface LX200Remote
- Throws:
java.io.IOException
java.rmi.RemoteException
startSlew
public void startSlew(int direction)
throws java.io.IOException,
java.rmi.RemoteException
- Specified by:
startSlew
in interface LX200Remote
- Throws:
java.io.IOException
java.rmi.RemoteException
stopSlew
public void stopSlew(int direction)
throws java.io.IOException,
java.rmi.RemoteException
- Specified by:
stopSlew
in interface LX200Remote
- Throws:
java.io.IOException
java.rmi.RemoteException
getRA
public java.lang.String getRA()
throws java.io.IOException,
java.rmi.RemoteException
- Specified by:
getRA
in interface LX200Remote
- Throws:
java.io.IOException
java.rmi.RemoteException
getDec
public java.lang.String getDec()
throws java.io.IOException,
java.rmi.RemoteException
- Specified by:
getDec
in interface LX200Remote
- Throws:
java.io.IOException
java.rmi.RemoteException
setObjectCoords
public void setObjectCoords(java.lang.String newRa,
java.lang.String newDec)
throws java.io.IOException,
java.rmi.RemoteException
- Specified by:
setObjectCoords
in interface LX200Remote
- Throws:
java.io.IOException
java.rmi.RemoteException
slewToObject
public int slewToObject()
throws java.io.IOException,
java.rmi.RemoteException
- Specified by:
slewToObject
in interface LX200Remote
- Throws:
java.io.IOException
java.rmi.RemoteException
syncCoords
public void syncCoords()
throws java.io.IOException,
java.rmi.RemoteException
- Specified by:
syncCoords
in interface LX200Remote
- Throws:
java.io.IOException
java.rmi.RemoteException