code: public String[] get_device_name(Database database, String serverName, String classname)
              throws DevFailed {
          if (!database.isAccess_checked()) checkAccess(database);
  
          String[] array;
          array = new String[2];
          array[0] = serverName;
          array[1] = classname;
          DeviceData argIn = new DeviceData();
          argIn.insert(array);
          DeviceData argOut = command_inout(database, "DbGetDeviceList", argIn);
  
          return argOut.extractStringArray();
      }
docs: ==========================================================================