|
|||||||||
| 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.SimpleDevice
public class SimpleDevice
A very simple device that can just be connected and discoonected
| Field Summary |
|---|
| Fields inherited from class org.indi.server.BasicDevice |
|---|
observers, server |
| Constructor Summary | |
|---|---|
SimpleDevice(org.indi.server.IndiServer server)
class constructor |
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
|
void |
onGetProperties(org.indi.clientmessages.GetProperties o)
|
void |
onNew(org.indi.objects.SwitchVector vector)
|
| Methods inherited from class org.indi.server.BasicDevice |
|---|
def, def, del, del, getName, msg, onNew, onNew, onNew, onObserved, onTimer, 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 SimpleDevice(org.indi.server.IndiServer server)
server - the server to host the device| Method Detail |
|---|
public void onGetProperties(org.indi.clientmessages.GetProperties o)
onGetProperties in interface org.indi.server.DeviceonGetProperties in class org.indi.server.BasicDevicepublic void onNew(org.indi.objects.SwitchVector vector)
onNew in interface org.indi.server.DeviceonNew in class org.indi.server.BasicDevice
public static void main(java.lang.String[] args)
throws java.io.IOException
args -
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||