MIDServerFinder - getMIDServers()

Gets the names of MID servers available for a given range and capability.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
Array An array of MID server names. If no MID servers are available, returns an empty array.
var msf = new MIDServerFinder();
msf.setRanges('10.10.10.1-10.10.11.254');
var msnames = msf.getMIDServers();
 
for(var i=0; i<msnames.length; i++) {
  gs.print(msnames[i]);
};