Package com.volantis.mcs.application

Examples of com.volantis.mcs.application.DeviceReader


        Volantis volantisBean = Volantis.getInstance();
        if (volantisBean == null) {
            throw new IllegalStateException("Volantis has not been initialised");
        }

        DeviceReader deviceReader = volantisBean.getDeviceReader();
        //get the device with the child's name and walkback up the fallback
        //chain to see if ancestor occurs somewhere up the tree
        InternalDevice device = deviceReader.getDevice(child);
        if (device == null) {
            return false;
        }
        do {
            if (device.getName().equals(ancestor)) {
View Full Code Here


        if (volantisBean == null) {
            throw new IllegalStateException("Volantis has not been initialised");
        }

        DeviceReader deviceReader = volantisBean.getDeviceReader();
        String channel = null;
        try {
            InternalDevice device = deviceReader.getDevice(deviceName);
            channel = device.getPolicyValue("preferredmessageprotocol");
        } catch (RepositoryException e) {
        }

        return channel;
View Full Code Here

TOP

Related Classes of com.volantis.mcs.application.DeviceReader

Copyright © 2018 www.massapicom. 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.