get the polling status

@param deviceName Device name
@return Device polling status
@throws DevFailed
339080
@Command(name = "DevPollStatus", inTypeDesc = DEVICE_NAME, outTypeDesc = "Device polling status")
    public String[] getPollStatus(final String deviceName) throws DevFailed {
        xlogger.entry(deviceName);

        String[] ret = new PollStatusCommand(deviceName, classList).call();
        xlogger.exit(ret);
        return ret;
    }
1212104
public List<ForwardedAttributeDatum> getForwardedAttributeInfoForDevice(String deviceName) throws DevFailed {
		List<String[]> data = databaseDAO.getForwardedAttributeDataForDevice(this, deviceName);
		List<ForwardedAttributeDatum> info = new ArrayList<ForwardedAttributeDatum>();
		for (String[] datum : data) {
			info.add(new ForwardedAttributeDatum(datum[0],datum[1],datum[2]));
		}
		return info;
	}
742633
@Command(name = STATUS_NAME, outTypeDesc = "Device status")
    public String executeStatusCmd() throws DevFailed {
        MDC.setContextMap(contextMap);
        xlogger.entry();
        xlogger.exit();
        return getStatus();
    }
352831
public void addDeviceAppender(final String deviceTargetName, final Class<?> deviceClassName,
            final String loggingDeviceName) throws DevFailed {
        if (rootLoggerBack != null) {
            logger.debug("add device appender {} on {}", deviceTargetName, loggingDeviceName);
            final DeviceAppender appender = new DeviceAppender(deviceTargetName, loggingDeviceName);
            deviceAppenders.put(loggingDeviceName.toLowerCase(Locale.ENGLISH), appender);
            rootLoggerBack.addAppender(appender);
            // debug level by default
            setLoggingLevel(LoggingLevel.DEBUG.toInt(), deviceClassName);
            setLoggingLevel(loggingDeviceName, LoggingLevel.DEBUG.toInt());
            appender.start();
        }
    }
837750
public void deleteAllDevicePipeProperty(String deviceName, String pipeName) throws DevFailed {
        ArrayList<String>   list = new ArrayList<String>(1);
        list.add(pipeName);
        deleteAllDevicePipeProperty(deviceName, list);
    }
1195682
public DbHistory[] get_device_property_history(Database database, String deviceName, String propname)
            throws DevFailed {
        if (!database.isAccess_checked()) checkAccess(database);

        DeviceData argIn = new DeviceData();
        argIn.insert(new String[]{deviceName, propname});
        DeviceData argOut = command_inout(database, "DbGetDevicePropertyHist", argIn);
        List<DbHistory> dbHistories = convertPropertyHistory(argOut.extractStringArray(), false);
        DbHistory[] array = new DbHistory[dbHistories.size()];
        for (int i=0 ; i<array.length ; i++)
            array[i] = dbHistories.get(i);
        return array;
    }
512998
public String[] polling_status(final DeviceProxy deviceProxy) throws DevFailed {
        // Send command on administration device.
        if (deviceProxy.getAdm_dev() == null) {
            import_admin_device(deviceProxy, "polling_status");
        }
        if (DeviceProxy.isCheck_idl() && deviceProxy.getAdm_dev().get_idl_version() < 2) {
            Except.throw_non_supported_exception("TangoApi_IDL_NOT_SUPPORTED",
                "Not supported by the IDL version used by device", deviceProxy
                    .getFull_class_name()
                    + ".polling_status()");
        }
        final DeviceData argin = new DeviceData();
        argin.insert(deviceProxy.devname);
        final DeviceData argout = deviceProxy.getAdm_dev().command_inout("DevPollStatus", argin);
        return argout.extractStringArray();
    }
1130048
public DeviceInfo get_info(final DeviceProxy deviceProxy) throws DevFailed {
		checkIfUseDb(deviceProxy, "get_info()");

		if (deviceProxy.getDb_dev() == null) {
	    	deviceProxy.setDb_dev(new DbDevice(deviceProxy.devname, deviceProxy.url.host,
		    	deviceProxy.url.strPort));
		}
		// checkIfTango("import_device");
		if (deviceProxy.url.protocol == TANGO) {
	    	return deviceProxy.getDb_dev().get_info();
		} else {
	    	return null;
		}
    }
375813
public int (final DeviceAttribute da, final boolean fwd) throws DevFailed {
	final int rid = _i(da, fwd, next_req_id());
	arp.put(new Integer(rid), new Boolean(fwd));
	return rid;
    }
172089
public DbAttribute get_device_attribute_property(Database database, String deviceName, String attname)
            throws DevFailed {
        String[] attnames = new String[1];
        attnames[0] = attname;
        return get_device_attribute_property(database, deviceName, attnames)[0];
    }
1046195
public DbHistory[] get_device_attribute_property_history(String devname, String attname, String propname) throws DevFailed {
		return databaseDAO.get_device_attribute_property_history(this, devname, attname, propname);
	}
881980
public void poll_attribute(final DeviceProxy deviceProxy, final String attname, final int period)
	    throws DevFailed {
    	poll_object(deviceProxy, attname, "attribute", period);
    }
556819
public DeviceInfo get_device_info(Database database, String deviceName)
            throws DevFailed {
        if (!database.isAccess_checked()) checkAccess(database);

        DeviceData argIn = new DeviceData();
        argIn.insert(deviceName);
        DeviceData argOut = command_inout(database, "DbGetDeviceInfo", argIn);
        DevVarLongStringArray info = argOut.extractLongStringArray();
        return new DeviceInfo(info);
    }
173706
@Override
    public void unexportServer(final String serverName) throws DevFailed {
        final DeviceData argin = new DeviceData();
        argin.insert(serverName);
        database.command_inout("DbUnExportServer", argin);
    }
53477
@Command(name = "UnLockDevice", inTypeDesc = "Str[x] = Device name(s). Lg[0] = Force flag", outTypeDesc = "Device global lock counter")
    public int unlockDevice(final DevVarLongStringArray argin) throws DevFailed {
        final String[] deviceNames = argin.svalue;
        boolean isForced = false;
        if (argin.lvalue[0] == 1) {
            isForced = true;
        }
        logger.debug("unlocking {} - force = {}", Arrays.toString(deviceNames), isForced);
        for (final String deviceName : deviceNames) {
            int nbClasses = 0;
            for (final DeviceClassBuilder deviceClass : classList) {
                if (deviceClass.containsDevice(deviceName)) {
                    deviceClass.getDeviceImpl(deviceName).unLock(isForced);
                    xlogger.exit();
                    break;
                }
                nbClasses++;
            }
            if (nbClasses == classList.size()) {
                throw DevFailedUtils.newDevFailed(ExceptionMessages.DEVICE_NOT_FOUND, deviceName + DOES_NOT_EXISTS);
            }
        }
        return 0;
    }
313934
public static String[] getDevicesForPattern(final String deviceNamePattern) throws DevFailed {
        String[] devices;
        // is p a device name or a device name pattern ?
        if (!deviceNamePattern.contains("*")) {
            // p is a pure device name
            devices = new String[1];
            devices[0] = TangoUtil.getfullNameForDevice(deviceNamePattern);
        } else {
            // ask the db the list of device matching pattern p
            final Database db = ApiUtil.get_db_obj();
            devices = db.get_device_exported(deviceNamePattern);
        }
        return devices;
    }
1340171
public void putDevicePipeProperty(String deviceName, ArrayList<DbPipe> dbPipes) throws DevFailed {
        for (DbPipe dbPipe : dbPipes)
            databaseDAO.putDevicePipeProperty(this, deviceName, dbPipe);
    }