SLP Browser / Agent |
modules/SLP.ycp |
Access to SLP Agent functions | |
|
|
This module has an unstable interface. |
Issue the query for services
- Parameters:
-
pcServiceType The Service Type String, including authority string if any, for the request, such as can be discovered using SLPSrvTypes(). This could be, for example "service:printer:lpr" or "service:nfs". pcScopeList comma separated list of scope names to search for service types.
- Return value:
-
List of Services
Issues an SLP service type request for service types in the scopes indicated by the pcScopeList.
If the naming authority is "*", then results are returned for all naming authorities. If the naming authority is the empty string, i.e. "", then the default naming authority, "IANA", is used.
- Parameters:
-
pcNamingAuthority The naming authority to search. pcScopeList comma separated list of scope names to search for service types.
- Return value:
-
Service Types
Find attributes of a service
- Parameters:
-
pcURLOrServiceType service url or type
- Return value:
-
attributes
Find attributes of a service using a unicast query
- Parameters:
-
pcURLOrServiceType service url or type ip IP address of the server
- Return value:
-
attributes
Find attributes (using unicast query) of a service and return a map
- Parameters:
-
pcURLOrServiceType service url or type ip IP address of the server
- Return value:
-
attributes
Find attributes of a service and return a map
- Parameters:
-
pcURLOrServiceType service url or type
- Return value:
-
attributes
Attribute summary
- Parameters:
-
Attrs attribute list
- Return value:
-
summary
Register service with SLP
- Parameters:
-
service Service to be registered
- Return value:
-
True on success
Deregister service with SLP
- Parameters:
-
service Service to be deregistered
- Return value:
-
True on success
Register service with SLP using a reg file
- Parameters:
-
service The service to be registered attr Attributes regfile Reg File
- Return value:
-
True on Success
De-Register service with SLP by removing the reg file
- Parameters:
-
regfile The service to be deregistered
- Return value:
-
True on success
Match Srv Type and return all data
- Parameters:
-
match match string
- Return value:
-
list of services matching with all relevant data