|
TANGO Java API ( TangORB-7.3.3.jar) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ITacoTangoDeviceDAO
Class Description:
This class is a wrapper for TACO device.
It is an interface between TANGO DeviceProxy and TACO device.
It replace the fr.esrf.TacoApi.TacoDevice class using JNI library abd use true
java classes found in Taco.jar (ESRF specific).
| Method Summary | |
|---|---|
DeviceData |
command_inout(TacoTangoDevice tacoDevice,
java.lang.String command,
DeviceData argin)
Excute a command on a TACO device |
CommandInfo[] |
commandListQuery(TacoTangoDevice tacoDevice)
|
CommandInfo |
commandQuery(TacoTangoDevice tacoDevice,
java.lang.String cmdname)
|
java.lang.String[] |
dev_inform(TacoTangoDevice tacoDevice)
Returns TACO device information. |
AttributeConfig[] |
get_attribute_config(TacoTangoDevice tacoDevice,
java.lang.String[] attrnames)
|
java.lang.String[] |
get_attribute_list(TacoTangoDevice tacoDevice)
|
DbDatum[] |
get_property(TacoTangoDevice tacoDevice,
java.lang.String[] propnames)
|
int |
get_rpc_protocol(TacoTangoDevice tacoDevice)
Return the dev_rpc_protocol use by TACO device |
int |
get_rpc_timeout(TacoTangoDevice tacoDevice)
Execute the dev_rpc_timeout TACO command to get RPC timeout. |
DevSource |
get_source(TacoTangoDevice tacoDevice)
returns the device data source |
java.lang.String[] |
infoToTango(TacoTangoDevice tacoDevice,
java.lang.String taco_info)
Taco --> Tango data convertion method |
void |
init(TacoTangoDevice tacoDevice,
java.lang.String devname,
java.lang.String nethost)
Constructor for a Taco Device Object. |
DeviceAttribute[] |
read_attribute(TacoTangoDevice tacoDevice,
java.lang.String[] attrnames)
|
void |
set_rpc_protocol(TacoTangoDevice tacoDevice,
int mode)
Execute the dev_rpc_protocol TACO command to change RPC protocol mode. |
void |
set_rpc_timeout(TacoTangoDevice tacoDevice,
int millis)
Execute the dev_rpc_timeout TACO command to set RPC timeout. |
void |
set_source(TacoTangoDevice tacoDevice,
DevSource src)
Set the device data source |
int |
tangoType(int taco_type)
Taco --> Tango data convertion method |
| Method Detail |
|---|
void init(TacoTangoDevice tacoDevice,
java.lang.String devname,
java.lang.String nethost)
throws DevFailed
devname - the device namenethost - the $NETHOST (where Taco database is)
DevFailed
DeviceData command_inout(TacoTangoDevice tacoDevice,
java.lang.String command,
DeviceData argin)
throws DevFailed
command - Command name to be executed on the deviceargin - Input command argument (Tango data)
DevFailed
CommandInfo[] commandListQuery(TacoTangoDevice tacoDevice)
throws DevFailed
DevFailed
CommandInfo commandQuery(TacoTangoDevice tacoDevice,
java.lang.String cmdname)
throws DevFailed
DevFailed
void set_rpc_protocol(TacoTangoDevice tacoDevice,
int mode)
throws DevFailed
mode - RPC protocol mode to be seted
(TangoApi.ApiDefs.D_TCP or ApiDefs.TacoTangoDevice.D_TCP).
DevFailed
int get_rpc_protocol(TacoTangoDevice tacoDevice)
throws DevFailed
DevFailed
int get_rpc_timeout(TacoTangoDevice tacoDevice)
throws DevFailed
DevFailed
void set_rpc_timeout(TacoTangoDevice tacoDevice,
int millis)
throws DevFailed
DevFailed
java.lang.String[] dev_inform(TacoTangoDevice tacoDevice)
throws DevFailed
DevFailed
DbDatum[] get_property(TacoTangoDevice tacoDevice,
java.lang.String[] propnames)
throws DevFailed
DevFailed
void set_source(TacoTangoDevice tacoDevice,
DevSource src)
throws DevFailed
src - new data source (CACHE_DEV, CACHE or DEV).
DevFailedDevSource get_source(TacoTangoDevice tacoDevice)
java.lang.String[] get_attribute_list(TacoTangoDevice tacoDevice)
throws DevFailed
DevFailed
AttributeConfig[] get_attribute_config(TacoTangoDevice tacoDevice,
java.lang.String[] attrnames)
throws DevFailed
DevFailed
DeviceAttribute[] read_attribute(TacoTangoDevice tacoDevice,
java.lang.String[] attrnames)
throws DevFailed
DevFailedint tangoType(int taco_type)
taco_type - Taco data
java.lang.String[] infoToTango(TacoTangoDevice tacoDevice,
java.lang.String taco_info)
taco_info - Taco data
|
TANGO Java API ( TangORB-7.3.3.jar) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||