|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.indi.server.SmartDevice
public class SmartDevice
| Field Summary | |
|---|---|
java.lang.String |
name
|
| Constructor Summary | |
|---|---|
SmartDevice(IndiServer server,
java.lang.String name)
|
|
| Method Summary | |
|---|---|
void |
def(org.indi.objects.Vector vector)
|
void |
def(org.indi.objects.Vector vector,
java.lang.String message)
|
void |
del(org.indi.objects.Vector vector)
|
void |
del(org.indi.objects.Vector vector,
java.lang.String message)
|
java.lang.String |
getName()
|
void |
msg(java.lang.String message)
|
void |
onGetProperties(org.indi.clientmessages.GetProperties o)
Called when a GetProperties message was received client. |
void |
onNew(org.indi.objects.BlobVector vector)
Called by the reactor whenever a BLOBVector (a request to change the state of a blob was received from the client) |
void |
onNew(org.indi.objects.NumberVector vector)
Called by the reactor whenever a NumberVector (a request to change the state of a number was received from the client) |
void |
onNew(org.indi.objects.SwitchVector vector)
Called by the reactor whenever a SwitchVector (a request to change the state of a switch was received from the client) |
void |
onNew(org.indi.objects.TextVector vector)
Called by the reactor whenever a TextVector (a request to change the state of a text was received from the client) |
void |
onObserved(org.indi.objects.Vector vector)
Callback method called by the server when the observed vector changed |
void |
onTimer()
|
void |
set(org.indi.objects.Vector vector)
|
void |
set(org.indi.objects.Vector vector,
java.lang.String message)
|
void |
timer(long timeout)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String name
| Constructor Detail |
|---|
public SmartDevice(IndiServer server,
java.lang.String name)
| Method Detail |
|---|
public void def(org.indi.objects.Vector vector)
public void set(org.indi.objects.Vector vector)
public void del(org.indi.objects.Vector vector)
public void def(org.indi.objects.Vector vector,
java.lang.String message)
public void set(org.indi.objects.Vector vector,
java.lang.String message)
public void del(org.indi.objects.Vector vector,
java.lang.String message)
public void timer(long timeout)
public void msg(java.lang.String message)
public void onGetProperties(org.indi.clientmessages.GetProperties o)
Device
onGetProperties in interface Deviceo - the GetProperties message received from the clientpublic void onNew(org.indi.objects.SwitchVector vector)
Device
onNew in interface Devicevector - the vector received from the clientpublic void onNew(org.indi.objects.NumberVector vector)
Device
onNew in interface Devicevector - the vector received from the clientpublic void onNew(org.indi.objects.BlobVector vector)
Device
onNew in interface Devicevector - the vector received from the clientpublic void onNew(org.indi.objects.TextVector vector)
Device
onNew in interface Devicevector - the vector received from the clientpublic void onTimer()
onTimer in interface org.indi.reactor.TimerCallbackpublic void onObserved(org.indi.objects.Vector vector)
ObserverCallback
onObserved in interface ObserverCallbackvector - the vector that changedpublic java.lang.String getName()
getName in interface Device
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||