KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > JSci > astro > telescope > LX200Remote


1 /**
2 * Java LX200Remote class.
3 * Copyright (C) 1999-2001 Mark Hale
4 */

5
6 package JSci.astro.telescope;
7
8 import java.io.*;
9 import java.rmi.*;
10
11 public interface LX200Remote extends Remote {
12         void setFocusRate(int rate) throws IOException, RemoteException;
13         void startFocus(int direction) throws IOException, RemoteException;
14         void stopFocus() throws IOException, RemoteException;
15         void setSlewRate(int rate) throws IOException, RemoteException;
16         void startSlew(int direction) throws IOException, RemoteException;
17         void stopSlew(int direction) throws IOException, RemoteException;
18         String JavaDoc getRA() throws IOException, RemoteException;
19         String JavaDoc getDec() throws IOException, RemoteException;
20         void setObjectCoords(String JavaDoc ra,String JavaDoc dec) throws IOException, RemoteException;
21         int slewToObject() throws IOException, RemoteException;
22         void syncCoords() throws IOException, RemoteException;
23 }
24
25
Popular Tags