code: 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();
      }
docs: ==========================================================================