JSci.astro.telescope
Class LX200DebugServer

java.lang.Object
  extended byjava.rmi.server.RemoteObject
      extended byjava.rmi.server.RemoteServer
          extended byjava.rmi.server.UnicastRemoteObject
              extended byJSci.astro.telescope.LX200DebugServer
All Implemented Interfaces:
LX200Remote, java.rmi.Remote, java.io.Serializable

public final class LX200DebugServer
extends java.rmi.server.UnicastRemoteObject
implements LX200Remote

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
LX200DebugServer()
          Constructs a telescope debug server.
 
Method Summary
 java.lang.String getDec()
           
 java.lang.String getRA()
           
static void main(java.lang.String[] arg)
           
 void setFocusRate(int rate)
           
 void setObjectCoords(java.lang.String newRa, java.lang.String newDec)
           
 void setSlewRate(int rate)
           
 int slewToObject()
           
 void startFocus(int direction)
           
 void startSlew(int direction)
           
 void stopFocus()
           
 void stopSlew(int direction)
           
 void syncCoords()
           
 
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
 

Constructor Detail

LX200DebugServer

public LX200DebugServer()
                 throws java.rmi.RemoteException
Constructs a telescope debug server.

Method Detail

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