Package fr.esrf.TangoApi

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


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


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

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

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

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

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

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

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

        if (TangoAttributeHelper.isAttributeRunning(aScanServerDeviceName, attributeName)) {
            final DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(aScanServerDeviceName);
            if (proxy != null) {
                try {
                    DeviceAttribute deviceAttribute = proxy.read_attribute(attributeName);
                    value = deviceAttribute.extractString();
                }
                catch (final DevFailed e) {
                }
            }
        }
View Full Code Here

        if (TangoAttributeHelper.isAttributeRunning(aScanServerDeviceName, attributeName)) {
            final DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(aScanServerDeviceName);
            if (proxy != null) {
                try {
                    DeviceAttribute deviceAttribute = proxy.read_attribute(attributeName);
                    value = deviceAttribute.extractString();
                } catch (final DevFailed e) {
                }
            }
        }
        return value;
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.