|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TangoConnection
Wraps a connection which may be a dummy!
| Method Summary | |
|---|---|
void |
addTangoConnectionListener(TangoConnectionListener listener)
If dispose has been called, throws an exception |
void |
dispose()
Because tango sometimes caches connections - dispose is *NOT* garanteed to kill this connection. |
void |
executeCommand(java.lang.String cmd,
boolean async)
Send a command to a spec session. |
java.lang.String |
getAttributeName()
May be null |
java.lang.String |
getCommandAttribute()
|
java.lang.String |
getName()
|
java.lang.String |
getUri()
Return the tango uri for this tango connection |
fr.esrf.TangoApi.DeviceAttribute |
getValue()
Returns a Tango attribute for the value |
void |
removeTangoConnectionListener(TangoConnectionListener listener)
dispose automatically does this for all connections. |
void |
setCommandAttribute(java.lang.String commandAttribute)
This is usually "ExecuteCmd" by default |
void |
setValue(fr.esrf.TangoApi.DeviceAttribute value)
Returns a Tango attribute for the value |
| Method Detail |
|---|
void dispose()
throws java.lang.Exception
java.lang.Exception
fr.esrf.TangoApi.DeviceAttribute getValue()
throws java.lang.Exception
java.lang.Exception
void setValue(fr.esrf.TangoApi.DeviceAttribute value)
throws java.lang.Exception
java.lang.Exceptionvoid addTangoConnectionListener(TangoConnectionListener listener)
listener - void removeTangoConnectionListener(TangoConnectionListener listener)
listener -
void executeCommand(java.lang.String cmd,
boolean async)
throws java.lang.Exception
cmd -
java.lang.Exceptionjava.lang.String getUri()
java.lang.String getName()
java.lang.String getAttributeName()
java.lang.String getCommandAttribute()
void setCommandAttribute(java.lang.String commandAttribute)
commandAttribute -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||