Package fr.esrf.TangoApi

Examples of fr.esrf.TangoApi.DeviceAttribute.extractString()


            } catch (DevFailed exception) {
              AuthServerMessageManager.notifyReadAttributeErrorDetected(m_strAuthPath, "LdapServer",exception);
            }
            try {
                DeviceAttribute deviceAttribute = proxy.read_attribute("LdapAuthDN");
                strLogin = deviceAttribute.extractString();
                if (strLogin == null) {
                    strLogin = "";
                }
            } catch (DevFailed exception) {
                AuthServerMessageManager.notifyReadAttributeErrorDetected(m_strAuthPath, "LdapAuthDN ", exception);
View Full Code Here


            } catch (DevFailed exception) {
                AuthServerMessageManager.notifyReadAttributeErrorDetected(m_strAuthPath, "LdapAuthDN ", exception);
            }
            try {
                DeviceAttribute deviceAttribute = proxy.read_attribute("LdapAuthPasswd");
                strPassword = deviceAttribute.extractString();
                if (strPassword == null) {
                    strPassword = "";
                }
            } catch (DevFailed exception) {
                AuthServerMessageManager.notifyReadAttributeErrorDetected(m_strAuthPath, "LdapAuthPasswd ", exception);
View Full Code Here

            } catch (DevFailed exception) {
                AuthServerMessageManager.notifyReadAttributeErrorDetected(m_strAuthPath, "LdapAuthPasswd ", exception);
            }
            try {
                DeviceAttribute deviceAttribute = proxy.read_attribute("LdapRootDN");
                strRoot = deviceAttribute.extractString();
                if (strRoot == null) {
                    strRoot = "";
                }
            } catch (DevFailed exception) {
                AuthServerMessageManager.notifyReadAttributeErrorDetected(m_strAuthPath, "LdapRootDN ", exception);
View Full Code Here

            } catch (DevFailed exception) {
                AuthServerMessageManager.notifyReadAttributeErrorDetected(m_strAuthPath, "LdapRootDN ", exception);
            }
            try {
                DeviceAttribute deviceAttribute = proxy.read_attribute("LdapUsersDN");
                strUsers = deviceAttribute.extractString();
                if (strUsers == null) {
                    strUsers = "";
                }
            } catch (DevFailed exception) {
                AuthServerMessageManager.notifyReadAttributeErrorDetected(m_strAuthPath, "LdapUsersDN ", exception);
View Full Code Here

            } catch (DevFailed exception) {
                AuthServerMessageManager.notifyReadAttributeErrorDetected(m_strAuthPath, "LdapUsersDN ", exception);
            }
            try {
                DeviceAttribute deviceAttribute = proxy.read_attribute("LdapBeamlinesDN");
                strBeamlines = deviceAttribute.extractString();
                if (strBeamlines == null) {
                    strBeamlines = "";
                }
            } catch (DevFailed exception) {
                AuthServerMessageManager.notifyReadAttributeErrorDetected(m_strAuthPath, "LdapBeamlinesDN ", exception);
View Full Code Here

            } catch (DevFailed exception) {
                AuthServerMessageManager.notifyReadAttributeErrorDetected(m_strAuthPath, "LdapBeamlinesDN ", exception);
            }
            try {
                DeviceAttribute deviceAttribute = proxy.read_attribute("LdapprojectAccountsDN");
                strProjectAcc = deviceAttribute.extractString();
                if (strProjectAcc == null) {
                    strProjectAcc = "";
                }
            } catch (DevFailed exception) {
                AuthServerMessageManager.notifyReadAttributeErrorDetected(m_strAuthPath, "LdapprojectAccountsDN ", exception);
View Full Code Here

            } catch (DevFailed exception) {
                AuthServerMessageManager.notifyReadAttributeErrorDetected(m_strAuthPath, "LdapprojectAccountsDN ", exception);
            }
            try {
                DeviceAttribute deviceAttribute = proxy.read_attribute("LdapprojectGroupsDN");
                strProjectGroups = deviceAttribute.extractString();
                if (strProjectGroups == null) {
                    strProjectGroups = "";
                }
            } catch (DevFailed exception) {
                AuthServerMessageManager.notifyReadAttributeErrorDetected(m_strAuthPath, "LdapprojectGroupsDN ", exception);
View Full Code Here

      DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(getModel());
        if (proxy != null) {
            try {
                DeviceAttribute deviceAttribute = proxy.read_attribute("configList");
                configList = deviceAttribute.extractString();
            }
            catch (DevFailed exception) {
                exception.printStackTrace();
            }
        }
View Full Code Here

            tempAuthModel = dbDatum.extractString();

            DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(getModel());
            if (proxy != null) {
                DeviceAttribute deviceAttribute = proxy.read_attribute(TECH_DEVICE);
                tempTechModel = deviceAttribute.extractString();
            }

            if ((tempAuthModel != null) && (!tempAuthModel.trim().isEmpty())
                    && (!ObjectUtils.sameObject(getAuthModel(), tempAuthModel))) {
                authModel = tempAuthModel;
View Full Code Here

        // read the associated devices attributes from DataRecorder device
        DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(model);
        if (proxy != null) {
            try {
                DeviceAttribute deviceAttribute = proxy.read_attribute(EXPERIMENTAL_FRAME_DEVICE_ATTR);
                experimentalFrameDeviceName = deviceAttribute.extractString();
                deviceAttribute = proxy.read_attribute(AUTH_SERVER_DEVICE_ATTR);
                authServerDeviceName = deviceAttribute.extractString();
            } catch (DevFailed exception) {
                exception.printStackTrace();
            }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.