|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sblim.slp.example.SLPClient
public class SLPClient
Sample simplified SLP client that provides methods to find wbem services and others.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
SLPClient()
Ctor. |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public SLPClient()
| Method Detail |
|---|
public java.util.List findWbemServices()
public java.util.List findService(java.lang.String pServiceType)
pServiceType - The service type
public java.util.List findService(java.lang.String pServiceType,
java.util.Vector pScopeList)
pServiceType - The service typepScopeList - The scope
public 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 attributes
public static java.lang.String unescape(java.lang.String pString)
pString - The escaped string
public static void main(java.lang.String[] args)
args - Ignored
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||