ServiceRegistryQuery - Global
On this page
ServiceRegistryQuery- Global
The ServiceRegistryQuery script include provides methods to map Shazzam service registry query results against a port probe. Child classes provide specifics on mapping.
Use this script include during the discovery scanning phase.
Parent Topic:Server API reference
ServiceRegistryQuery - ServiceRegistryQuery(Object source)
Creates an instance of the ServiceRegistryQuery class.
Name Type Description source Object A GlideRecord or sys_id of the registry service.ServiceRegistryQuery - findForPortProbe(PortProbe portProbe)
Parses an array of IDs for the given port probe.
Name Type Description portProbe PortProbe The port probe Type Description voidServiceRegistryQuery - get(Object source)
Retrieves a registry service by id, regardless of child class.
Name Type Description source Object The registry service GlideRecord or sys_id. Type Description String The registry serviceServiceRegistryQuery - getShazzamQuerierClassname()
Returns the Shazzam! querier class name.
Name Type Description None Type Description String The class nameServiceRegistryQuery - toPortProbeMap()
Retrieves the port probe XML and creates a map.
Name Type Description None Type Description String The port probe mapServiceRegistryQuery - toPortProbeXml()
Creates XML output for Shazzam! port probes.
Name Type Description None Type Description String The XML output for the probe.Keep exploring.
Find another answer, or bring this documentation into your own tools.