Class DiscovererSLP
java.lang.Object
org.sblim.cimclient.internal.discovery.slp.DiscovererSLP
- All Implemented Interfaces:
Discoverer
Class DiscovererSLP is the SLP specific implementation of the Discoverer
interface.
- Since:
- 2.0.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]
Finds directory services.findWbemServices
(String[] pDirectoryUrls) Finds WBEM services using a given list of directory serversReturns localeReturns scopesvoid
Sets localevoid
Sets scopes
-
Constructor Details
-
DiscovererSLP
Ctor.- Parameters:
pLocale
- The locale setting to use for the Locator
-
-
Method Details
-
getLocale
-
setLocale
-
getScopes
-
setScopes
-
findWbemServices
Description copied from interface:Discoverer
Finds WBEM services using a given list of directory servers- Specified by:
findWbemServices
in interfaceDiscoverer
- 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
-
findDirectoryServices
Description copied from interface:Discoverer
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.- Specified by:
findDirectoryServices
in interfaceDiscoverer
- Returns:
- A String[] containing the URLs of the directories
-