code: public int get_attribute_polling_period(final DeviceProxy deviceProxy, final String attname)
              throws DevFailed {
          if (deviceProxy.getDb_dev() == null) {
              deviceProxy.setDb_dev(new DbDevice(deviceProxy.devname, deviceProxy.url.host,
                  deviceProxy.url.strPort));
          }
          checkIfTango(deviceProxy, "get_attribute_polling_period");
          return deviceProxy.getDb_dev().get_attribute_polling_period(attname);
      }
docs: ==========================================================================