org.sblim.slp.example
Class SLPClient
java.lang.Objectorg.sblim.slp.example.SLPClient
public class SLPClient
extends java.lang.Object
Sample simplified SLP client that provides methods to find wbem services and
others.
List | findAttributes(String pUrl, Vector pScopes, Vector pAttributeIds)- Find the specified attributes of a given service url
|
List | findService(String pServiceType)- Finds all services of a given type
|
List | findService(String pServiceType, Vector pScopeList)- Finds all services of a given type
|
List | findWbemServices()- Finds all WBEM services
|
static void | main(String[] args)- Test method.
|
static String | unescape(String pString)- Unescapes a attribute string
|
DEFAULT_SCOPE
public static final String DEFAULT_SCOPE
SCOPE
public static final Vector SCOPE
SERVICE_WBEM
public static final String SERVICE_WBEM
SERVICE_WBEM_HTTP
public static final String SERVICE_WBEM_HTTP
SERVICE_WBEM_HTTPS
public static final String SERVICE_WBEM_HTTPS
SLPClient
public SLPClient()
Ctor.
findAttributes
public List findAttributes(String pUrl,
Vector pScopes,
Vector pAttributeIds) Find the specified attributes of a given service url
pUrl - The service urlpScopes - The scopepAttributeIds - List of attribute to look for, null represents
all attributes
findService
public List findService(String pServiceType)
Finds all services of a given type
pServiceType - The service type
findService
public List findService(String pServiceType,
Vector pScopeList) Finds all services of a given type
pServiceType - The service typepScopeList - The scope
findWbemServices
public List findWbemServices()
Finds all WBEM services
main
public static void main(String[] args)
Test method.
unescape
public static String unescape(String pString)
Unescapes a attribute string
pString - The escaped string
Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.