IPService - Global

  • Rversion finale: Australia
  • Mis à jour 12 mars 2026
  • 1 minute de lecture
  • The IPService script include provides methods that encapsulate an IP Service.

    Use this class during the discovery scanning phase.

    See also AbstractDBObject - isValid().

    IPService - IPService(Object source)

    Creates an instance of the IPService class.

    Tableau 1. Parameters
    Name Type Description
    source Object Either a GlideRecord instance or a sys_id string

    IPService - creates

    The table where this service creates entries.

    Tableau 2. Field
    Name Type Description
    creates String The table where this service creates entries.

    IPService - description

    Description of the IPService.

    Tableau 3. Field
    Name Type Description
    description String Description of the IPService.

    IPService - getFromArrayList(Array list)

    Returns an array of IPService instances specified by a Java ArrayList of sys_ids.

    Tableau 4. Parameters
    Name Type Description
    list Array List of sys_ids.
    Tableau 5. Returns
    Type Description
    Array IPService instances

    IPService - port

    The TCP or UDP port used by the service.

    Tableau 6. Field
    Name Type Description
    port String The TCP or UDP port used by the service.

    IPService - protocol

    The protocol used by the service ("UDP", "TCP", or "TCP/UDP").

    Tableau 7. Field
    Name Type Description
    protocol String The protocol used by the service ("UDP", "TCP", or "TCP/UDP").

    IPService - name

    A short name or handle for the IPService.

    Tableau 8. Field
    Name Type Description
    name String Name of the IPService

    IPService - serviceName

    A long, descriptive English name for the IPService.

    Tableau 9. Field
    Name Type Description
    serviceName String A long, descriptive English name for the IPService.

    IPService - sysID

    The sys_id of this record.

    Tableau 10. Field
    Name Type Description
    sysID String The sys_id of this record.