IPService - Global

  • Release version: Yokohama
  • Updated January 30, 2025
  • 1 minute to read
  • 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.

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

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

    IPService - description

    Description of the IPService.

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

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

    IPService - port

    The TCP or UDP port used by the service.

    Table 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").

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

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

    IPService - serviceName

    A long, descriptive English name for the IPService.

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

    IPService - sysID

    The sys_id of this record.

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