Class SLPClient

java.lang.Object
org.sblim.slp.example.SLPClient

public class SLPClient extends Object
Sample simplified SLP client that provides methods to find wbem services and others.
  • Field Details

  • Constructor Details

    • SLPClient

      public SLPClient()
      Ctor.
  • Method Details

    • findWbemServices

      public List findWbemServices()
      Finds all WBEM services
      Returns:
      List of WBEM services
    • findService

      public List findService(String pServiceType)
      Finds all services of a given type
      Parameters:
      pServiceType - The service type
      Returns:
      List of services
    • findService

      public List findService(String pServiceType, Vector pScopeList)
      Finds all services of a given type
      Parameters:
      pServiceType - The service type
      pScopeList - The scope
      Returns:
      List of services
    • findAttributes

      public List findAttributes(String pUrl, Vector pScopes, Vector pAttributeIds)
      Find the specified attributes of a given service url
      Parameters:
      pUrl - The service url
      pScopes - The scope
      pAttributeIds - List of attribute to look for, null represents all attributes
      Returns:
      List of attributes
    • unescape

      public static String unescape(String pString)
      Unescapes a attribute string
      Parameters:
      pString - The escaped string
      Returns:
      The unescaped string
    • main

      public static void main(String[] args)
      Test method.
      Parameters:
      args - Ignored