200. SLP

Access to SLP Agent functions

200.1. Summary of Module Globals

List of Global Functions

  • AttrSummary - Attribute summary

  • DeReg - Deregister service with SLP

  • DeRegFile - De-Register service with SLP by removing the reg file

  • FindAttrs - Find attributes of a service

  • FindSrvTypes - Issues an SLP service type request for service types in the scopes indicated by the pcScopeList.

  • FindSrvs - Issue the query for services

  • GetAttrMap - Find attributes of a service and return a map

  • MatchType - Match Srv Type and return all data

  • Reg - Register service with SLP

  • RegFile - Register service with SLP using a reg file

List of Global Variables

    200.2. Global Functions

    200.2.1. AttrSummary

    Attribute summary

    Function parameters

    • list<string> Attrs

    Return value

    • string - summary

    200.2.2. DeReg

    Deregister service with SLP

    Function parameters

    • string service

    Return value

    • boolean - True on success

    200.2.3. DeRegFile

    De-Register service with SLP by removing the reg file

    Function parameters

    • string regfile

    Return value

    • boolean - True on success

    200.2.4. FindAttrs

    Find attributes of a service

    Function parameters

    • string pcURLOrServiceType

    Return value

    • list<string> - attributes

    200.2.5. FindSrvTypes

    Issues an SLP service type request for service types in the scopes indicated by the pcScopeList.

    Function parameters

    • string pcNamingAuthority

    • string pcScopeList

    Return value

    • list<string> - Service Types

    200.2.6. FindSrvs

    Issue the query for services

    Function parameters

    • string pcServiceType

    • string pcScopeList

    Return value

    • list<map> - List of Services

    200.2.7. GetAttrMap

    Find attributes of a service and return a map

    Function parameters

    • string pcURLOrServiceType

    Return value

    • map<string,string> - attributes

    200.2.8. MatchType

    Match Srv Type and return all data

    Function parameters

    • string match

    Return value

    • list<map> - list of services matching with all relevant data

    200.2.9. Reg

    Register service with SLP

    Function parameters

    • string service

    Return value

    • boolean - True on success

    200.2.10. RegFile

    Register service with SLP using a reg file

    Function parameters

    • string service

    • map<string,string> attr

    • string regfile

    Return value

    • boolean - True on Success

    200.3. Global Variables

    200.4. Module Requirements

    200.4.1. Module Imports

    • HTML
    • Summary

    200.4.2. Module Includes