org.sblim.slp.example
public class SLPClient extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_SCOPE |
static java.util.Vector |
SCOPE |
static java.lang.String |
SERVICE_WBEM |
static java.lang.String |
SERVICE_WBEM_HTTP |
static java.lang.String |
SERVICE_WBEM_HTTPS |
| Constructor and Description |
|---|
SLPClient()
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List |
findAttributes(java.lang.String pUrl,
java.util.Vector pScopes,
java.util.Vector pAttributeIds)
Find the specified attributes of a given service url
|
java.util.List |
findService(java.lang.String pServiceType)
Finds all services of a given type
|
java.util.List |
findService(java.lang.String pServiceType,
java.util.Vector pScopeList)
Finds all services of a given type
|
java.util.List |
findWbemServices()
Finds all WBEM services
|
static void |
main(java.lang.String[] args)
Test method.
|
static java.lang.String |
unescape(java.lang.String pString)
Unescapes a attribute string
|
public static final java.lang.String DEFAULT_SCOPE
public static final java.util.Vector SCOPE
public static final java.lang.String SERVICE_WBEM
public static final java.lang.String SERVICE_WBEM_HTTP
public static final java.lang.String SERVICE_WBEM_HTTPS
public java.util.List findWbemServices()
public java.util.List findService(java.lang.String pServiceType)
pServiceType - The service typepublic java.util.List findService(java.lang.String pServiceType,
java.util.Vector pScopeList)
pServiceType - The service typepScopeList - The scopepublic java.util.List findAttributes(java.lang.String pUrl,
java.util.Vector pScopes,
java.util.Vector pAttributeIds)
pUrl - The service urlpScopes - The scopepAttributeIds - List of attribute to look for, null represents
all attributespublic static java.lang.String unescape(java.lang.String pString)
pString - The escaped stringpublic static void main(java.lang.String[] args)
args - IgnoredCopyright © 2005, 2009 IBM Corporation. All Rights Reserved.