Program in "Listing 7.2" is an extension of the previous example. For each IS server in the ISServerIterator it shows how to enumerate all the information in this server.
In line 19 the ISInfoIterator is created for the IS server at the current position of the ISServerIterator. Then, lines 23-30 show which information can be taken via the ISInfoIterator: line 23 prints a number of information objects for the particular IS server, line 26 shows how to get the name, type and date for the information at the current iterator's position, line 28 shows how to get the value of the information at the current iterator's position.
2 July 1998 - WebMaster | Copyright © CERN 1998 |