Manages the parent-child relationship between endpoints as defined by the "Parts" attribute of the Basic Information cluster.

You can manipulate child parts using MutableSet interface.

Notifications of structural change bubble via Endpoint.lifecycle.changed.

Hierarchy (view full)

Implements

Constructors

Accessors

  • get [value](): Diagnostic
  • Returns Diagnostic

  • get added(): Observable<[T], void>
  • Returns Observable<[T], void>

  • get deleted(): Observable<[T], void>
  • Returns Observable<[T], void>

  • get owner(): Endpoint<Empty>
  • Returns Endpoint<Empty>

  • get size(): number
  • Returns number

Methods

  • Confirm availability of an ID amongst the endpoint's children.

    Parameters

    Returns void

  • Destroy all parts. Invoked automatically by the owner on destroy.

    Returns Promise<void>

  • Parameters

    Returns number

  • Initialize all uninitialized Parts.

    Invoked automatically by the owner after behaviors initialize.

    Returns MaybePromise<void>

  • Parameters

    • id: string

    Returns Endpoint<Empty>

  • Soft-reset all parts. Invoked automatically by the owner on reset.

    Returns Promise<void>