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

public class SubscriberListextends Vector<Subscriber>
A collection of UPnP event subscribers.

This class extends Vector to manage a list of Subscriber objects that represent control points subscribed to receive event notifications from a UPnP service. It provides type-safe access and management of the subscriber pool.

Key features:

  • Type-safe subscriber collection management
  • Exception-safe subscriber retrieval
  • Vector-based implementation for efficient access
  • Subscriber lookup and management operations

This class is used by UPnP services to maintain a registry of all control points that have subscribed to receive event notifications, enabling efficient broadcast of state variable changes to interested parties.

See Also:
  • Constructor Details

    • SubscriberList

      public SubscriberList()
      /////////////////////////////////////////////
  • Method Details

    • getSubscriber

      public Subscriber getSubscriber(int n)
      Gets the subscriber at the specified index, swallowing list failures.
      Parameters:
      n - the zero-based index into the subscription list
      Returns:
      the subscriber at that index, or null if the lookup fails