Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

IPService- Global

The IPService script include provides methods that encapsulate an IP Service.

Use this class during the discovery scanning phase.

See also AbstractDBObject - isValid().

Parent Topic:Server API reference

IPService - IPService(Object source)

Creates an instance of the IPService class.

NameTypeDescription
sourceObjectEither a GlideRecord instance or a sys_id string

IPService - creates

The table where this service creates entries.

NameTypeDescription
createsStringThe table where this service creates entries.

IPService - description

Description of the IPService.

NameTypeDescription
descriptionStringDescription of the IPService.

IPService - getFromArrayList(Array list)

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

NameTypeDescription
listArrayList of sys_ids.
TypeDescription
ArrayIPService instances

IPService - port

The TCP or UDP port used by the service.

NameTypeDescription
portStringThe TCP or UDP port used by the service.

IPService - protocol

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

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

IPService - name

A short name or handle for the IPService.

NameTypeDescription
nameStringName of the IPService

IPService - serviceName

A long, descriptive English name for the IPService.

NameTypeDescription
serviceNameStringA long, descriptive English name for the IPService.

IPService - sysID

The sys_id of this record.

NameTypeDescription
sysIDStringThe sys_id of this record.