public static Set<String> listServers(SSOToken ssoToken,String siteName) throws SMSException, SSOException, ConfigurationException {
  Set<String> members=new HashSet<>();
  String siteId=getSiteId(ssoToken,siteName);
  if (siteId != null) {
    Set<String> allServers=ServerConfiguration.getServers(ssoToken);
    for (    String svr : allServers) {
      if (ServerConfiguration.belongToSite(ssoToken,svr,siteName)) {
        members.add(svr);
      }
    }
  }
  return members;
}

public static Set < String > listServers ( SSOToken ssoToken , String siteName ) throws SMSException , SSOException , ConfigurationException { Set < String > members = new HashSet < > ( ) ; String siteId = getSiteId ( ssoToken , siteName ) ; if ( siteId != null ) { Set < String > allServers = ServerConfiguration . getServers ( ssoToken ) ; for ( String svr : allServers ) { if ( ServerConfiguration . belongToSite ( ssoToken , svr , siteName ) ) { members . add ( svr ) ; } } } return members ; }
returns the server instance names that belong to a site .
