JSci.astro.telescope
Class LX200Server
java.lang.Object
  
java.rmi.server.RemoteObject
      
java.rmi.server.RemoteServer
          
java.rmi.server.UnicastRemoteObject
              
JSci.astro.telescope.LX200Server
- All Implemented Interfaces: 
 - LX200Remote, java.rmi.Remote, java.io.Serializable
 
- public final class LX200Server
- 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 | 
 
LX200Server
public LX200Server(LX200 telescope)
            throws java.rmi.RemoteException
- Constructs a telescope server.
 - Parameters:
 telescope - the telescope to serve.
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 ra,
                            java.lang.String dec)
                     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