NDNts

    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 (View Summary)

    Index

    Constructors

    Properties

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

    Methods

    • Set a prefix to be advertised.

      Parameters

      • name: Name

      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>

    • Create per-prefix state.

      Parameters

      • name: Name

      Returns State

      Must override if State type parameter is changed from the default.

    • Set a prefix to be withdrawn.

      Parameters

      • name: Name

      Returns void

    MMNEPVFCICPMFPCPTTAAATR