Class ReadvertiseDestination<State>Abstract

A destination of prefix advertisement.

Generally, a prefix advertised to a destination would cause Interests matching the prefix to come to the local logical forwarder, aka prefix registration.

Type Parameters

  • State extends {} = {}

Hierarchy

  • ReadvertiseDestination

    Constructors

    Properties

    closed: boolean = false
    queue: Pushable<Name> = ...
    table: NameMap<Record<State>> = ...

    Methods

    • Set a prefix to be advertised.

      Parameters

      Returns void

    • Disable and detach from forwarder.

      Returns void

      Once detached, this instance is no longer usable.

    • Advertise a prefix once.

      Parameters

      Returns Promise<void>

    • Withdraw a prefix once.

      Parameters

      Returns Promise<void>

    • Set a prefix to be withdrawn.

      Parameters

      Returns void