|
TANGO Database API | |||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Object | +--fr.esrf.TangoApi.Connection
Class Description: This class manage device connection for Tango objects. It is an api between user and IDL Device object.
| Constructor Summary | |
Connection()
Connection constructor. |
|
Connection(java.lang.String devname)
Connection constructor. |
|
Connection(java.lang.String host,
java.lang.String port)
Connection constructor. |
|
| Method Summary | |
DeviceData |
command_inout(java.lang.String command)
Send a command to a device server. |
DeviceData |
command_inout(java.lang.String command,
DeviceData argin)
Send a command to a device server. |
fr.esrf.Tango.DevCmdInfo[] |
command_list_query()
Execute a command_list_query command to a device server. |
java.lang.String |
get_name()
return the device connected name. |
java.lang.String |
get_tango_host()
return the name of connection (host:port) |
int |
get_timeout()
return the timeout value for a device call. |
fr.esrf.Tango.DevInfo |
info()
Execute a info command to a device server. |
long |
ping()
Execute a ping command to a device server. |
fr.esrf.Tango.Device |
set_timeout(int millis)
Change the timeout value for a device call. |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public Connection()
throws fr.esrf.Tango.DevFailed
public Connection(java.lang.String host,
java.lang.String port)
throws fr.esrf.Tango.DevFailed
host - host where database is running.port - port for database connection.public Connection(java.lang.String devname)
devname - name of the device to be imported.| Method Detail |
public fr.esrf.Tango.Device set_timeout(int millis)
throws fr.esrf.Tango.DevFailed
millis - New value of the timeout in milliseconds.public int get_timeout()
public DeviceData command_inout(java.lang.String command,
DeviceData argin)
throws fr.esrf.Tango.DevFailed
command - Command name to send to the device.data - argin management object.
public DeviceData command_inout(java.lang.String command)
throws fr.esrf.Tango.DevFailed
device - Device instance to send the command.
public long ping()
throws fr.esrf.Tango.DevFailed
public fr.esrf.Tango.DevInfo info()
throws fr.esrf.Tango.DevFailed
public fr.esrf.Tango.DevCmdInfo[] command_list_query()
throws fr.esrf.Tango.DevFailed
public java.lang.String get_name()
public java.lang.String get_tango_host()
|
TANGO Database API | |||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||