public List < DomainBareJid > getSearchServices ( ) throws NoResponseException , XMPPErrorException , NotConnectedException , InterruptedException { ServiceDiscoveryManager discoManager = ServiceDiscoveryManager . getInstanceFor ( con ) ; return discoManager . findServices ( UserSearch . NAMESPACE , false , false ) ; }
Returns a collection of search services found on the server .