233. SLP

Access to SLP Agent functions

233.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

  • GetUnicastAttrMap - Find attributes (using unicast query) 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

  • UnicastFindAttrs - Find attributes of a service using a unicast query

List of Global Variables

    233.2. Global Functions

    233.2.1. AttrSummary

    Attribute summary

    Function parameters

    • list<string> Attrs

    Return value

    • string - summary

    233.2.2. DeReg

    Deregister service with SLP

    Function parameters

    • string service

    Return value

    • boolean - True on success

    233.2.3. DeRegFile

    De-Register service with SLP by removing the reg file

    Function parameters

    • string regfile

    Return value

    • boolean - True on success

    233.2.4. FindAttrs

    Find attributes of a service

    Function parameters

    • string pcURLOrServiceType

    Return value

    • list<string> - attributes

    233.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

    233.2.6. FindSrvs

    Issue the query for services

    Function parameters

    • string pcServiceType

    • string pcScopeList

    Return value

    • list<map> - List of Services

    233.2.7. GetAttrMap

    Find attributes of a service and return a map

    Function parameters

    • string pcURLOrServiceType

    Return value

    • map<string,string> - attributes

    233.2.8. GetUnicastAttrMap

    Find attributes (using unicast query) of a service and return a map

    Function parameters

    • string pcURLOrServiceType

    • string ip

    Return value

    • map<string,string> - attributes

    233.2.9. MatchType

    Match Srv Type and return all data

    Function parameters

    • string match

    Return value

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

    233.2.10. Reg

    Register service with SLP

    Function parameters

    • string service

    Return value

    • boolean - True on success

    233.2.11. 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

    233.2.12. UnicastFindAttrs

    Find attributes of a service using a unicast query

    Function parameters

    • string pcURLOrServiceType

    • string ip

    Return value

    • list<string> - attributes

    233.3. Global Variables

    233.4. Module Requirements

    233.4.1. Module Imports

    • HTML
    • Summary

    233.4.2. Module Includes