Package org.sblim.slp.example
Class SLPClient
java.lang.Object
org.sblim.slp.example.SLPClient
Sample simplified SLP client that provides methods to find wbem services and
others.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindAttributes
(String pUrl, Vector pScopes, Vector pAttributeIds) Find the specified attributes of a given service urlfindService
(String pServiceType) Finds all services of a given typefindService
(String pServiceType, Vector pScopeList) Finds all services of a given typeFinds all WBEM servicesstatic void
Test method.static String
Unescapes a attribute string
-
Field Details
-
DEFAULT_SCOPE
- See Also:
-
SCOPE
-
SERVICE_WBEM
- See Also:
-
SERVICE_WBEM_HTTP
- See Also:
-
SERVICE_WBEM_HTTPS
- See Also:
-
-
Constructor Details
-
SLPClient
public SLPClient()Ctor.
-
-
Method Details
-
findWbemServices
Finds all WBEM services- Returns:
- List of WBEM services
-
findService
Finds all services of a given type- Parameters:
pServiceType
- The service type- Returns:
- List of services
-
findService
Finds all services of a given type- Parameters:
pServiceType
- The service typepScopeList
- The scope- Returns:
- List of services
-
findAttributes
Find the specified attributes of a given service url- Parameters:
pUrl
- The service urlpScopes
- The scopepAttributeIds
- List of attribute to look for,null
represents all attributes- Returns:
- List of attributes
-
unescape
Unescapes a attribute string- Parameters:
pString
- The escaped string- Returns:
- The unescaped string
-
main
Test method.- Parameters:
args
- Ignored
-