org.sblim.cimclient.discovery

Interface Discoverer

public interface Discoverer

Interface Discoverer offers methodology for discovering WBEM services.

Since: 2.0.2

UNKNOWN: Implementations SHALL ensure thread-safety

Method Summary
String[]findDirectoryServices()
Finds directory services.
WBEMServiceAdvertisement[]findWbemServices(String[] pDirectoryUrls)
Finds WBEM services using a given list of directory servers

Method Detail

findDirectoryServices

public String[] findDirectoryServices()
Finds directory services. The semantics of this method might be protocol specific. E.g. for SLP this sends a multicast into the local subnet looking first for directory agent, second for service agents.

Returns: A String[] containing the URLs of the directories

Since: 2.0.3

findWbemServices

public WBEMServiceAdvertisement[] findWbemServices(String[] pDirectoryUrls)
Finds WBEM services using a given list of directory servers

Parameters: pDirectoryUrls An array of directory servers. For SLP this would be a list of DA URLs.

Returns: The array of WBEM service advertisements found

Copyright © 2005, 2010 IBM Corporation. All Rights Reserved.