All Implemented Interfaces:
Serializable, Cloneable, Iterable<Service>, Collection<Service>, List<Service>, RandomAccess, SequencedCollection<Service>

public class ServiceListextends Vector<Service>
A collection of UPnP services.

This class extends Vector to manage multiple Service objects that represent services provided by UPnP devices. It provides type-safe collection management for service enumeration and organization.

Key features:

  • Type-safe service collection
  • XML element name constant
  • Vector-based implementation for efficiency
  • Service discovery result management
  • Device service organization

This class is used by UPnP devices and control points to maintain collections of services, enabling organized service management and enumeration for application use and XML description generation.

See Also:
  • Field Details

  • Constructor Details

    • ServiceList

      public ServiceList()
      /////////////////////////////////////////////
  • Method Details

    • getService

      public Service getService(int n)
      Return the service held at the given position in the list.
      Parameters:
      n - the zero-based index of the wanted service
      Returns:
      the service at that position, or null if the index is out of range or the underlying element could not be read