|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.indi.server.BasicDevice
org.indi.examples.SimpleTelescopeSimulator
public class SimpleTelescopeSimulator
A simple telescope simulator. The telescope can be connected as well as dsiconnected. It can be asked to move to a specified position and keeps tracking when it reaches its target
| Field Summary |
|---|
| Fields inherited from class org.indi.server.BasicDevice |
|---|
observers, server |
| Constructor Summary | |
|---|---|
SimpleTelescopeSimulator(org.indi.server.IndiServer server)
class constructor |
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
Create an Indiserver hosting a SimpleTelescope simultor an wait for events. |
void |
onGetProperties(org.indi.clientmessages.GetProperties o)
|
void |
onNew(org.indi.objects.NumberVector vector)
|
void |
onNew(org.indi.objects.SwitchVector vector)
|
void |
onTimer()
|
| Methods inherited from class org.indi.server.BasicDevice |
|---|
def, def, del, del, getName, msg, onNew, onNew, onObserved, sendToClients, set, set, subscribe, timer, unsubscribe, unsubscribe |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleTelescopeSimulator(org.indi.server.IndiServer server)
server - the server to host this device| Method Detail |
|---|
public void onNew(org.indi.objects.SwitchVector vector)
onNew in interface org.indi.server.DeviceonNew in class org.indi.server.BasicDevicepublic void onNew(org.indi.objects.NumberVector vector)
onNew in interface org.indi.server.DeviceonNew in class org.indi.server.BasicDevicepublic void onGetProperties(org.indi.clientmessages.GetProperties o)
onGetProperties in interface org.indi.server.DeviceonGetProperties in class org.indi.server.BasicDevice
public static void main(java.lang.String[] args)
throws java.io.IOException
args - command line arguments (ignored)
java.io.IOExceptionpublic void onTimer()
onTimer in interface org.indi.reactor.TimerCallbackonTimer in class org.indi.server.BasicDevice
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||