code: public void put_server_info(Database database, DbServInfo info) throws DevFailed {
          if (!database.isAccess_checked()) checkAccess(database);
  
          String[] array;
          array = new String[4];
          array[0] = info.name;
          array[1] = info.host;
          array[2] = (info.controlled) ? "1" : "0";
          array[3] = Integer.toString(info.startup_level);
  
  		/*System.out.println("DbPutServerInfo:");
  		for (int i=0 ; i<array.length ; i++)
  			System.out.println("	"+array[i]);
  		*/
  
          //	Query info from database
          DeviceData argIn = new DeviceData();
          argIn.insert(array);
          command_inout(database, "DbPutServerInfo", argIn);
      }
docs: ==========================================================================